home *** CD-ROM | disk | FTP | other *** search
/ Software USA 4 #1 / Software USA Volume 4.01.iso / mac / Education / TreffNet / TreffNet ƒ / numbers / cards.xml < prev    next >
Encoding:
Text File  |  1997-11-03  |  93.2 KB  |  3,098 lines

  1. card_4473.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>4473</id>
  6.     <filler1>0</filler1>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <owner>2587</owner>
  11.     <link rel="stylesheet" type="text/css" href="stylesheet_2997.css" />
  12.     <part>
  13.         <id>13</id>
  14.         <type>field</type>
  15.         <visible> <true /> </visible>
  16.         <dontWrap> <false /> </dontWrap>
  17.         <dontSearch> <false /> </dontSearch>
  18.         <sharedText> <false /> </sharedText>
  19.         <fixedLineHeight> <true /> </fixedLineHeight>
  20.         <autoTab> <false /> </autoTab>
  21.         <lockText> <false /> </lockText>
  22.         <rect>
  23.             <left>280</left>
  24.             <top>124</top>
  25.             <right>323</right>
  26.             <bottom>322</bottom>
  27.         </rect>
  28.         <style>shadow</style>
  29.         <autoSelect> <false /> </autoSelect>
  30.         <showLines> <false /> </showLines>
  31.         <wideMargins> <false /> </wideMargins>
  32.         <multipleLines> <false /> </multipleLines>
  33.         <reservedFamily> 0 </reservedFamily>
  34.         <titleWidth>0</titleWidth>
  35.         <icon>0</icon>
  36.         <textAlign>left</textAlign>
  37.         <font>Times</font>
  38.         <textSize>10</textSize>
  39.         <textStyle>bold</textStyle>
  40.         <textHeight>13</textHeight>
  41.         <name>output</name>
  42.         <script></script>
  43.     </part>
  44.     <part>
  45.         <id>17</id>
  46.         <type>field</type>
  47.         <visible> <false /> </visible>
  48.         <dontWrap> <false /> </dontWrap>
  49.         <dontSearch> <false /> </dontSearch>
  50.         <sharedText> <false /> </sharedText>
  51.         <fixedLineHeight> <true /> </fixedLineHeight>
  52.         <autoTab> <false /> </autoTab>
  53.         <lockText> <false /> </lockText>
  54.         <rect>
  55.             <left>315</left>
  56.             <top>54</top>
  57.             <right>468</right>
  58.             <bottom>121</bottom>
  59.         </rect>
  60.         <style>rectangle</style>
  61.         <autoSelect> <false /> </autoSelect>
  62.         <showLines> <true /> </showLines>
  63.         <wideMargins> <false /> </wideMargins>
  64.         <multipleLines> <false /> </multipleLines>
  65.         <reservedFamily> 0 </reservedFamily>
  66.         <titleWidth>0</titleWidth>
  67.         <icon>0</icon>
  68.         <textAlign>left</textAlign>
  69.         <font>Geneva</font>
  70.         <textSize>12</textSize>
  71.         <textStyle>plain</textStyle>
  72.         <textHeight>16</textHeight>
  73.         <name>tempres</name>
  74.         <script></script>
  75.     </part>
  76.     <part>
  77.         <id>36</id>
  78.         <type>field</type>
  79.         <visible> <true /> </visible>
  80.         <dontWrap> <false /> </dontWrap>
  81.         <dontSearch> <false /> </dontSearch>
  82.         <sharedText> <false /> </sharedText>
  83.         <fixedLineHeight> <true /> </fixedLineHeight>
  84.         <autoTab> <false /> </autoTab>
  85.         <lockText> <true /> </lockText>
  86.         <rect>
  87.             <left>24</left>
  88.             <top>128</top>
  89.             <right>250</right>
  90.             <bottom>295</bottom>
  91.         </rect>
  92.         <style>scrolling</style>
  93.         <autoSelect> <false /> </autoSelect>
  94.         <showLines> <false /> </showLines>
  95.         <wideMargins> <true /> </wideMargins>
  96.         <multipleLines> <false /> </multipleLines>
  97.         <reservedFamily> 0 </reservedFamily>
  98.         <titleWidth>0</titleWidth>
  99.         <icon>0</icon>
  100.         <textAlign>left</textAlign>
  101.         <font>Geneva</font>
  102.         <textSize>9</textSize>
  103.         <textStyle>bold</textStyle>
  104.         <textHeight>12</textHeight>
  105.         <name>wts</name>
  106.         <script></script>
  107.     </part>
  108.     <part>
  109.         <id>38</id>
  110.         <type>field</type>
  111.         <visible> <false /> </visible>
  112.         <dontWrap> <false /> </dontWrap>
  113.         <dontSearch> <false /> </dontSearch>
  114.         <sharedText> <false /> </sharedText>
  115.         <fixedLineHeight> <true /> </fixedLineHeight>
  116.         <autoTab> <false /> </autoTab>
  117.         <lockText> <false /> </lockText>
  118.         <rect>
  119.             <left>433</left>
  120.             <top>136</top>
  121.             <right>478</right>
  122.             <bottom>204</bottom>
  123.         </rect>
  124.         <style>rectangle</style>
  125.         <autoSelect> <false /> </autoSelect>
  126.         <showLines> <true /> </showLines>
  127.         <wideMargins> <false /> </wideMargins>
  128.         <multipleLines> <false /> </multipleLines>
  129.         <reservedFamily> 0 </reservedFamily>
  130.         <titleWidth>0</titleWidth>
  131.         <icon>0</icon>
  132.         <textAlign>left</textAlign>
  133.         <font>Geneva</font>
  134.         <textSize>12</textSize>
  135.         <textStyle>plain</textStyle>
  136.         <textHeight>16</textHeight>
  137.         <name>totals</name>
  138.         <script></script>
  139.     </part>
  140.     <part>
  141.         <id>40</id>
  142.         <type>field</type>
  143.         <visible> <false /> </visible>
  144.         <dontWrap> <false /> </dontWrap>
  145.         <dontSearch> <false /> </dontSearch>
  146.         <sharedText> <false /> </sharedText>
  147.         <fixedLineHeight> <true /> </fixedLineHeight>
  148.         <autoTab> <false /> </autoTab>
  149.         <lockText> <true /> </lockText>
  150.         <rect>
  151.             <left>335</left>
  152.             <top>124</top>
  153.             <right>364</right>
  154.             <bottom>322</bottom>
  155.         </rect>
  156.         <style>shadow</style>
  157.         <autoSelect> <false /> </autoSelect>
  158.         <showLines> <false /> </showLines>
  159.         <wideMargins> <false /> </wideMargins>
  160.         <multipleLines> <false /> </multipleLines>
  161.         <reservedFamily> 0 </reservedFamily>
  162.         <titleWidth>0</titleWidth>
  163.         <icon>0</icon>
  164.         <textAlign>left</textAlign>
  165.         <font>Times</font>
  166.         <textSize>10</textSize>
  167.         <textStyle>bold</textStyle>
  168.         <textHeight>13</textHeight>
  169.         <name>tgets</name>
  170.         <script></script>
  171.     </part>
  172.     <part>
  173.         <id>45</id>
  174.         <type>field</type>
  175.         <visible> <true /> </visible>
  176.         <dontWrap> <false /> </dontWrap>
  177.         <dontSearch> <false /> </dontSearch>
  178.         <sharedText> <false /> </sharedText>
  179.         <fixedLineHeight> <true /> </fixedLineHeight>
  180.         <autoTab> <false /> </autoTab>
  181.         <lockText> <false /> </lockText>
  182.         <rect>
  183.             <left>22</left>
  184.             <top>84</top>
  185.             <right>286</right>
  186.             <bottom>105</bottom>
  187.         </rect>
  188.         <style>shadow</style>
  189.         <autoSelect> <false /> </autoSelect>
  190.         <showLines> <false /> </showLines>
  191.         <wideMargins> <false /> </wideMargins>
  192.         <multipleLines> <false /> </multipleLines>
  193.         <reservedFamily> 0 </reservedFamily>
  194.         <titleWidth>0</titleWidth>
  195.         <icon>0</icon>
  196.         <textAlign>left</textAlign>
  197.         <font>Times</font>
  198.         <textSize>12</textSize>
  199.         <textStyle>bold</textStyle>
  200.         <textHeight>16</textHeight>
  201.         <name>input</name>
  202.         <script></script>
  203.     </part>
  204.     <part>
  205.         <id>63</id>
  206.         <type>field</type>
  207.         <visible> <false /> </visible>
  208.         <dontWrap> <false /> </dontWrap>
  209.         <dontSearch> <false /> </dontSearch>
  210.         <sharedText> <false /> </sharedText>
  211.         <fixedLineHeight> <true /> </fixedLineHeight>
  212.         <autoTab> <false /> </autoTab>
  213.         <lockText> <false /> </lockText>
  214.         <rect>
  215.             <left>274</left>
  216.             <top>31</top>
  217.             <right>303</right>
  218.             <bottom>97</bottom>
  219.         </rect>
  220.         <style>rectangle</style>
  221.         <autoSelect> <false /> </autoSelect>
  222.         <showLines> <true /> </showLines>
  223.         <wideMargins> <false /> </wideMargins>
  224.         <multipleLines> <false /> </multipleLines>
  225.         <reservedFamily> 0 </reservedFamily>
  226.         <titleWidth>0</titleWidth>
  227.         <icon>0</icon>
  228.         <textAlign>left</textAlign>
  229.         <font>Geneva</font>
  230.         <textSize>12</textSize>
  231.         <textStyle>plain</textStyle>
  232.         <textHeight>16</textHeight>
  233.         <name>delta</name>
  234.         <script></script>
  235.     </part>
  236.     <part>
  237.         <id>66</id>
  238.         <type>field</type>
  239.         <visible> <false /> </visible>
  240.         <dontWrap> <false /> </dontWrap>
  241.         <dontSearch> <false /> </dontSearch>
  242.         <sharedText> <false /> </sharedText>
  243.         <fixedLineHeight> <true /> </fixedLineHeight>
  244.         <autoTab> <false /> </autoTab>
  245.         <lockText> <false /> </lockText>
  246.         <rect>
  247.             <left>0</left>
  248.             <top>257</top>
  249.             <right>76</right>
  250.             <bottom>342</bottom>
  251.         </rect>
  252.         <style>rectangle</style>
  253.         <autoSelect> <false /> </autoSelect>
  254.         <showLines> <true /> </showLines>
  255.         <wideMargins> <false /> </wideMargins>
  256.         <multipleLines> <false /> </multipleLines>
  257.         <reservedFamily> 0 </reservedFamily>
  258.         <titleWidth>0</titleWidth>
  259.         <icon>0</icon>
  260.         <textAlign>left</textAlign>
  261.         <font>Geneva</font>
  262.         <textSize>12</textSize>
  263.         <textStyle>plain</textStyle>
  264.         <textHeight>16</textHeight>
  265.         <name>sign</name>
  266.         <script></script>
  267.     </part>
  268.     <part>
  269.         <id>67</id>
  270.         <type>field</type>
  271.         <visible> <false /> </visible>
  272.         <dontWrap> <false /> </dontWrap>
  273.         <dontSearch> <false /> </dontSearch>
  274.         <sharedText> <false /> </sharedText>
  275.         <fixedLineHeight> <true /> </fixedLineHeight>
  276.         <autoTab> <false /> </autoTab>
  277.         <lockText> <false /> </lockText>
  278.         <rect>
  279.             <left>4</left>
  280.             <top>167</top>
  281.             <right>36</right>
  282.             <bottom>235</bottom>
  283.         </rect>
  284.         <style>rectangle</style>
  285.         <autoSelect> <false /> </autoSelect>
  286.         <showLines> <false /> </showLines>
  287.         <wideMargins> <false /> </wideMargins>
  288.         <multipleLines> <false /> </multipleLines>
  289.         <reservedFamily> 0 </reservedFamily>
  290.         <titleWidth>0</titleWidth>
  291.         <icon>0</icon>
  292.         <textAlign>left</textAlign>
  293.         <font>Geneva</font>
  294.         <textSize>12</textSize>
  295.         <textStyle>plain</textStyle>
  296.         <textHeight>16</textHeight>
  297.         <name>finished</name>
  298.         <script></script>
  299.     </part>
  300.     <part>
  301.         <id>75</id>
  302.         <type>field</type>
  303.         <visible> <true /> </visible>
  304.         <dontWrap> <false /> </dontWrap>
  305.         <dontSearch> <false /> </dontSearch>
  306.         <sharedText> <false /> </sharedText>
  307.         <fixedLineHeight> <true /> </fixedLineHeight>
  308.         <autoTab> <false /> </autoTab>
  309.         <lockText> <true /> </lockText>
  310.         <rect>
  311.             <left>306</left>
  312.             <top>67</top>
  313.             <right>338</right>
  314.             <bottom>94</bottom>
  315.         </rect>
  316.         <style>shadow</style>
  317.         <autoSelect> <false /> </autoSelect>
  318.         <showLines> <false /> </showLines>
  319.         <wideMargins> <false /> </wideMargins>
  320.         <multipleLines> <false /> </multipleLines>
  321.         <reservedFamily> 0 </reservedFamily>
  322.         <titleWidth>0</titleWidth>
  323.         <icon>0</icon>
  324.         <textAlign>left</textAlign>
  325.         <font>Times</font>
  326.         <textSize>18</textSize>
  327.         <textStyle>bold</textStyle>
  328.         <textHeight>24</textHeight>
  329.         <name>cycle</name>
  330.         <script></script>
  331.     </part>
  332.     <part>
  333.         <id>76</id>
  334.         <type>field</type>
  335.         <visible> <false /> </visible>
  336.         <dontWrap> <false /> </dontWrap>
  337.         <dontSearch> <false /> </dontSearch>
  338.         <sharedText> <false /> </sharedText>
  339.         <fixedLineHeight> <true /> </fixedLineHeight>
  340.         <autoTab> <false /> </autoTab>
  341.         <lockText> <false /> </lockText>
  342.         <rect>
  343.             <left>24</left>
  344.             <top>166</top>
  345.             <right>251</right>
  346.             <bottom>234</bottom>
  347.         </rect>
  348.         <style>scrolling</style>
  349.         <autoSelect> <false /> </autoSelect>
  350.         <showLines> <true /> </showLines>
  351.         <wideMargins> <false /> </wideMargins>
  352.         <multipleLines> <false /> </multipleLines>
  353.         <reservedFamily> 0 </reservedFamily>
  354.         <titleWidth>0</titleWidth>
  355.         <icon>0</icon>
  356.         <textAlign>left</textAlign>
  357.         <font>Geneva</font>
  358.         <textSize>9</textSize>
  359.         <textStyle>plain</textStyle>
  360.         <textHeight>12</textHeight>
  361.         <name>ins</name>
  362.         <script></script>
  363.     </part>
  364.     <part>
  365.         <id>77</id>
  366.         <type>field</type>
  367.         <visible> <false /> </visible>
  368.         <dontWrap> <false /> </dontWrap>
  369.         <dontSearch> <false /> </dontSearch>
  370.         <sharedText> <false /> </sharedText>
  371.         <fixedLineHeight> <true /> </fixedLineHeight>
  372.         <autoTab> <false /> </autoTab>
  373.         <lockText> <false /> </lockText>
  374.         <rect>
  375.             <left>24</left>
  376.             <top>256</top>
  377.             <right>250</right>
  378.             <bottom>319</bottom>
  379.         </rect>
  380.         <style>scrolling</style>
  381.         <autoSelect> <false /> </autoSelect>
  382.         <showLines> <true /> </showLines>
  383.         <wideMargins> <false /> </wideMargins>
  384.         <multipleLines> <false /> </multipleLines>
  385.         <reservedFamily> 0 </reservedFamily>
  386.         <titleWidth>0</titleWidth>
  387.         <icon>0</icon>
  388.         <textAlign>left</textAlign>
  389.         <font>Geneva</font>
  390.         <textSize>9</textSize>
  391.         <textStyle>plain</textStyle>
  392.         <textHeight>12</textHeight>
  393.         <name>targs</name>
  394.         <script></script>
  395.     </part>
  396.     <part>
  397.         <id>78</id>
  398.         <type>button</type>
  399.         <visible> <true /> </visible>
  400.         <reserved5> 0 </reserved5>
  401.         <reserved4> 0 </reserved4>
  402.         <reserved3> 0 </reserved3>
  403.         <reserved2> 0 </reserved2>
  404.         <reserved1> 0 </reserved1>
  405.         <enabled> <true /> </enabled>
  406.         <rect>
  407.             <left>409</left>
  408.             <top>133</top>
  409.             <right>481</right>
  410.             <bottom>165</bottom>
  411.         </rect>
  412.         <style>roundrect</style>
  413.         <showName> <true /> </showName>
  414.         <highlight> <false /> </highlight>
  415.         <autoHighlight> <true /> </autoHighlight>
  416.         <sharedHighlight> <true /> </sharedHighlight>
  417.         <family>0</family>
  418.         <titleWidth>0</titleWidth>
  419.         <icon>0</icon>
  420.         <textAlign>center</textAlign>
  421.         <font>Chicago</font>
  422.         <textSize>12</textSize>
  423.         <textStyle>plain</textStyle>
  424.         <name>TEST</name>
  425.         <script>on mouseUp
  426.  
  427. go to card testcard
  428.  
  429. put empty into card field id 14
  430.  
  431. --ask "Enter test input"
  432. --put it into card field id 14
  433.  
  434. repeat with n = 1 to 2
  435. hide card field id 15
  436. wait 10 ticks
  437. show card field id 15
  438. wait 10 ticks
  439. end repeat
  440.  
  441. repeat with n = 1 to 2
  442. hide card field id 14
  443. wait 10 ticks
  444. show card field id 14
  445. wait 10 ticks
  446. end repeat
  447.  
  448. end mouseUp
  449. </script>
  450.     </part>
  451.     <part>
  452.         <id>79</id>
  453.         <type>field</type>
  454.         <visible> <true /> </visible>
  455.         <dontWrap> <false /> </dontWrap>
  456.         <dontSearch> <false /> </dontSearch>
  457.         <sharedText> <false /> </sharedText>
  458.         <fixedLineHeight> <true /> </fixedLineHeight>
  459.         <autoTab> <false /> </autoTab>
  460.         <lockText> <false /> </lockText>
  461.         <rect>
  462.             <left>395</left>
  463.             <top>68</top>
  464.             <right>425</right>
  465.             <bottom>93</bottom>
  466.         </rect>
  467.         <style>shadow</style>
  468.         <autoSelect> <false /> </autoSelect>
  469.         <showLines> <false /> </showLines>
  470.         <wideMargins> <false /> </wideMargins>
  471.         <multipleLines> <false /> </multipleLines>
  472.         <reservedFamily> 0 </reservedFamily>
  473.         <titleWidth>0</titleWidth>
  474.         <icon>0</icon>
  475.         <textAlign>left</textAlign>
  476.         <font>Times</font>
  477.         <textSize>18</textSize>
  478.         <textStyle>bold</textStyle>
  479.         <textHeight>24</textHeight>
  480.         <name>pattnum</name>
  481.         <script></script>
  482.     </part>
  483.     <part>
  484.         <id>81</id>
  485.         <type>field</type>
  486.         <visible> <true /> </visible>
  487.         <dontWrap> <false /> </dontWrap>
  488.         <dontSearch> <false /> </dontSearch>
  489.         <sharedText> <false /> </sharedText>
  490.         <fixedLineHeight> <true /> </fixedLineHeight>
  491.         <autoTab> <false /> </autoTab>
  492.         <lockText> <false /> </lockText>
  493.         <rect>
  494.             <left>275</left>
  495.             <top>108</top>
  496.             <right>332</right>
  497.             <bottom>127</bottom>
  498.         </rect>
  499.         <style>transparent</style>
  500.         <autoSelect> <false /> </autoSelect>
  501.         <showLines> <false /> </showLines>
  502.         <wideMargins> <false /> </wideMargins>
  503.         <multipleLines> <false /> </multipleLines>
  504.         <reservedFamily> 0 </reservedFamily>
  505.         <titleWidth>0</titleWidth>
  506.         <icon>0</icon>
  507.         <textAlign>left</textAlign>
  508.         <font>Geneva</font>
  509.         <textSize>12</textSize>
  510.         <textStyle>plain</textStyle>
  511.         <textHeight>16</textHeight>
  512.         <name></name>
  513.         <script></script>
  514.     </part>
  515.     <part>
  516.         <id>83</id>
  517.         <type>field</type>
  518.         <visible> <false /> </visible>
  519.         <dontWrap> <false /> </dontWrap>
  520.         <dontSearch> <false /> </dontSearch>
  521.         <sharedText> <false /> </sharedText>
  522.         <fixedLineHeight> <true /> </fixedLineHeight>
  523.         <autoTab> <false /> </autoTab>
  524.         <lockText> <false /> </lockText>
  525.         <rect>
  526.             <left>328</left>
  527.             <top>108</top>
  528.             <right>389</right>
  529.             <bottom>127</bottom>
  530.         </rect>
  531.         <style>transparent</style>
  532.         <autoSelect> <false /> </autoSelect>
  533.         <showLines> <false /> </showLines>
  534.         <wideMargins> <false /> </wideMargins>
  535.         <multipleLines> <false /> </multipleLines>
  536.         <reservedFamily> 0 </reservedFamily>
  537.         <titleWidth>0</titleWidth>
  538.         <icon>0</icon>
  539.         <textAlign>left</textAlign>
  540.         <font>Geneva</font>
  541.         <textSize>12</textSize>
  542.         <textStyle>plain</textStyle>
  543.         <textHeight>16</textHeight>
  544.         <name></name>
  545.         <script></script>
  546.     </part>
  547.     <part>
  548.         <id>86</id>
  549.         <type>field</type>
  550.         <visible> <false /> </visible>
  551.         <dontWrap> <false /> </dontWrap>
  552.         <dontSearch> <false /> </dontSearch>
  553.         <sharedText> <false /> </sharedText>
  554.         <fixedLineHeight> <true /> </fixedLineHeight>
  555.         <autoTab> <false /> </autoTab>
  556.         <lockText> <false /> </lockText>
  557.         <rect>
  558.             <left>25</left>
  559.             <top>143</top>
  560.             <right>115</right>
  561.             <bottom>164</bottom>
  562.         </rect>
  563.         <style>opaque</style>
  564.         <autoSelect> <false /> </autoSelect>
  565.         <showLines> <false /> </showLines>
  566.         <wideMargins> <false /> </wideMargins>
  567.         <multipleLines> <false /> </multipleLines>
  568.         <reservedFamily> 0 </reservedFamily>
  569.         <titleWidth>0</titleWidth>
  570.         <icon>0</icon>
  571.         <textAlign>left</textAlign>
  572.         <font>Geneva</font>
  573.         <textSize>12</textSize>
  574.         <textStyle>bold</textStyle>
  575.         <textHeight>16</textHeight>
  576.         <name></name>
  577.         <script></script>
  578.     </part>
  579.     <part>
  580.         <id>87</id>
  581.         <type>field</type>
  582.         <visible> <false /> </visible>
  583.         <dontWrap> <false /> </dontWrap>
  584.         <dontSearch> <false /> </dontSearch>
  585.         <sharedText> <false /> </sharedText>
  586.         <fixedLineHeight> <true /> </fixedLineHeight>
  587.         <autoTab> <false /> </autoTab>
  588.         <lockText> <false /> </lockText>
  589.         <rect>
  590.             <left>24</left>
  591.             <top>236</top>
  592.             <right>99</right>
  593.             <bottom>256</bottom>
  594.         </rect>
  595.         <style>opaque</style>
  596.         <autoSelect> <false /> </autoSelect>
  597.         <showLines> <false /> </showLines>
  598.         <wideMargins> <false /> </wideMargins>
  599.         <multipleLines> <false /> </multipleLines>
  600.         <reservedFamily> 0 </reservedFamily>
  601.         <titleWidth>0</titleWidth>
  602.         <icon>0</icon>
  603.         <textAlign>left</textAlign>
  604.         <font>Geneva</font>
  605.         <textSize>12</textSize>
  606.         <textStyle>bold</textStyle>
  607.         <textHeight>16</textHeight>
  608.         <name></name>
  609.         <script></script>
  610.     </part>
  611.     <part>
  612.         <id>88</id>
  613.         <type>button</type>
  614.         <visible> <false /> </visible>
  615.         <reserved5> 0 </reserved5>
  616.         <reserved4> 0 </reserved4>
  617.         <reserved3> 0 </reserved3>
  618.         <reserved2> 0 </reserved2>
  619.         <reserved1> 0 </reserved1>
  620.         <enabled> <true /> </enabled>
  621.         <rect>
  622.             <left>393</left>
  623.             <top>171</top>
  624.             <right>487</right>
  625.             <bottom>196</bottom>
  626.         </rect>
  627.         <style>roundrect</style>
  628.         <showName> <true /> </showName>
  629.         <highlight> <false /> </highlight>
  630.         <autoHighlight> <true /> </autoHighlight>
  631.         <sharedHighlight> <true /> </sharedHighlight>
  632.         <family>0</family>
  633.         <titleWidth>0</titleWidth>
  634.         <icon>0</icon>
  635.         <textAlign>center</textAlign>
  636.         <font>Chicago</font>
  637.         <textSize>12</textSize>
  638.         <textStyle>plain</textStyle>
  639.         <name>Show Inputs</name>
  640.         <script>on mouseUp
  641.  
  642. hide card field wts
  643. hide card field id 97
  644.  
  645. hide card field target
  646. show card field ins
  647. show card field targs
  648. show card field id 86
  649. show card field id 87
  650.  
  651. hide card button "show inputs"
  652. show card button "hide inputs"
  653.  
  654.  
  655.  
  656. end mouseUp
  657. </script>
  658.     </part>
  659.     <part>
  660.         <id>89</id>
  661.         <type>field</type>
  662.         <visible> <true /> </visible>
  663.         <dontWrap> <false /> </dontWrap>
  664.         <dontSearch> <false /> </dontSearch>
  665.         <sharedText> <false /> </sharedText>
  666.         <fixedLineHeight> <true /> </fixedLineHeight>
  667.         <autoTab> <false /> </autoTab>
  668.         <lockText> <false /> </lockText>
  669.         <rect>
  670.             <left>470</left>
  671.             <top>74</top>
  672.             <right>492</right>
  673.             <bottom>91</bottom>
  674.         </rect>
  675.         <style>transparent</style>
  676.         <autoSelect> <false /> </autoSelect>
  677.         <showLines> <false /> </showLines>
  678.         <wideMargins> <false /> </wideMargins>
  679.         <multipleLines> <false /> </multipleLines>
  680.         <reservedFamily> 0 </reservedFamily>
  681.         <titleWidth>0</titleWidth>
  682.         <icon>0</icon>
  683.         <textAlign>left</textAlign>
  684.         <font>Geneva</font>
  685.         <textSize>12</textSize>
  686.         <textStyle>bold</textStyle>
  687.         <textHeight>16</textHeight>
  688.         <name>maxins</name>
  689.         <script></script>
  690.     </part>
  691.     <part>
  692.         <id>91</id>
  693.         <type>button</type>
  694.         <visible> <false /> </visible>
  695.         <reserved5> 0 </reserved5>
  696.         <reserved4> 0 </reserved4>
  697.         <reserved3> 0 </reserved3>
  698.         <reserved2> 0 </reserved2>
  699.         <reserved1> 0 </reserved1>
  700.         <enabled> <true /> </enabled>
  701.         <rect>
  702.             <left>390</left>
  703.             <top>169</top>
  704.             <right>486</right>
  705.             <bottom>195</bottom>
  706.         </rect>
  707.         <style>roundrect</style>
  708.         <showName> <true /> </showName>
  709.         <highlight> <false /> </highlight>
  710.         <autoHighlight> <false /> </autoHighlight>
  711.         <sharedHighlight> <true /> </sharedHighlight>
  712.         <family>0</family>
  713.         <titleWidth>0</titleWidth>
  714.         <icon>0</icon>
  715.         <textAlign>center</textAlign>
  716.         <font>Chicago</font>
  717.         <textSize>12</textSize>
  718.         <textStyle>plain</textStyle>
  719.         <name>Hide Inputs</name>
  720.         <script>on mouseUp
  721.  
  722. hide card field wts
  723. hide card field id 97
  724.  
  725. hide card field target
  726. hide card field ins
  727. hide card field targs
  728. hide card field id 86
  729. hide card field id 87
  730.  
  731. hide card button "hide inputs"
  732. show card button "show inputs"
  733.  
  734. show card field wts
  735. show card field id 97
  736.  
  737.  
  738. end mouseUp
  739. </script>
  740.     </part>
  741.     <part>
  742.         <id>93</id>
  743.         <type>field</type>
  744.         <visible> <true /> </visible>
  745.         <dontWrap> <false /> </dontWrap>
  746.         <dontSearch> <false /> </dontSearch>
  747.         <sharedText> <false /> </sharedText>
  748.         <fixedLineHeight> <true /> </fixedLineHeight>
  749.         <autoTab> <false /> </autoTab>
  750.         <lockText> <true /> </lockText>
  751.         <rect>
  752.             <left>19</left>
  753.             <top>68</top>
  754.             <right>80</right>
  755.             <bottom>86</bottom>
  756.         </rect>
  757.         <style>transparent</style>
  758.         <autoSelect> <false /> </autoSelect>
  759.         <showLines> <false /> </showLines>
  760.         <wideMargins> <false /> </wideMargins>
  761.         <multipleLines> <false /> </multipleLines>
  762.         <reservedFamily> 0 </reservedFamily>
  763.         <titleWidth>0</titleWidth>
  764.         <icon>0</icon>
  765.         <textAlign>left</textAlign>
  766.         <font>Geneva</font>
  767.         <textSize>12</textSize>
  768.         <textStyle>plain</textStyle>
  769.         <textHeight>16</textHeight>
  770.         <name></name>
  771.         <script></script>
  772.     </part>
  773.     <part>
  774.         <id>94</id>
  775.         <type>field</type>
  776.         <visible> <true /> </visible>
  777.         <dontWrap> <false /> </dontWrap>
  778.         <dontSearch> <false /> </dontSearch>
  779.         <sharedText> <false /> </sharedText>
  780.         <fixedLineHeight> <true /> </fixedLineHeight>
  781.         <autoTab> <false /> </autoTab>
  782.         <lockText> <true /> </lockText>
  783.         <rect>
  784.             <left>300</left>
  785.             <top>49</top>
  786.             <right>349</right>
  787.             <bottom>67</bottom>
  788.         </rect>
  789.         <style>transparent</style>
  790.         <autoSelect> <false /> </autoSelect>
  791.         <showLines> <false /> </showLines>
  792.         <wideMargins> <false /> </wideMargins>
  793.         <multipleLines> <false /> </multipleLines>
  794.         <reservedFamily> 0 </reservedFamily>
  795.         <titleWidth>0</titleWidth>
  796.         <icon>0</icon>
  797.         <textAlign>left</textAlign>
  798.         <font>Geneva</font>
  799.         <textSize>12</textSize>
  800.         <textStyle>bold</textStyle>
  801.         <textHeight>16</textHeight>
  802.         <name></name>
  803.         <script></script>
  804.     </part>
  805.     <part>
  806.         <id>95</id>
  807.         <type>field</type>
  808.         <visible> <true /> </visible>
  809.         <dontWrap> <false /> </dontWrap>
  810.         <dontSearch> <false /> </dontSearch>
  811.         <sharedText> <false /> </sharedText>
  812.         <fixedLineHeight> <true /> </fixedLineHeight>
  813.         <autoTab> <false /> </autoTab>
  814.         <lockText> <true /> </lockText>
  815.         <rect>
  816.             <left>376</left>
  817.             <top>49</top>
  818.             <right>437</right>
  819.             <bottom>68</bottom>
  820.         </rect>
  821.         <style>transparent</style>
  822.         <autoSelect> <false /> </autoSelect>
  823.         <showLines> <false /> </showLines>
  824.         <wideMargins> <false /> </wideMargins>
  825.         <multipleLines> <false /> </multipleLines>
  826.         <reservedFamily> 0 </reservedFamily>
  827.         <titleWidth>0</titleWidth>
  828.         <icon>0</icon>
  829.         <textAlign>left</textAlign>
  830.         <font>Geneva</font>
  831.         <textSize>12</textSize>
  832.         <textStyle>bold</textStyle>
  833.         <textHeight>16</textHeight>
  834.         <name></name>
  835.         <script></script>
  836.     </part>
  837.     <part>
  838.         <id>96</id>
  839.         <type>field</type>
  840.         <visible> <true /> </visible>
  841.         <dontWrap> <false /> </dontWrap>
  842.         <dontSearch> <false /> </dontSearch>
  843.         <sharedText> <false /> </sharedText>
  844.         <fixedLineHeight> <true /> </fixedLineHeight>
  845.         <autoTab> <false /> </autoTab>
  846.         <lockText> <false /> </lockText>
  847.         <rect>
  848.             <left>426</left>
  849.             <top>74</top>
  850.             <right>472</right>
  851.             <bottom>91</bottom>
  852.         </rect>
  853.         <style>transparent</style>
  854.         <autoSelect> <false /> </autoSelect>
  855.         <showLines> <false /> </showLines>
  856.         <wideMargins> <false /> </wideMargins>
  857.         <multipleLines> <false /> </multipleLines>
  858.         <reservedFamily> 0 </reservedFamily>
  859.         <titleWidth>0</titleWidth>
  860.         <icon>0</icon>
  861.         <textAlign>left</textAlign>
  862.         <font>Geneva</font>
  863.         <textSize>12</textSize>
  864.         <textStyle>plain</textStyle>
  865.         <textHeight>16</textHeight>
  866.         <name></name>
  867.         <script></script>
  868.     </part>
  869.     <part>
  870.         <id>92</id>
  871.         <type>field</type>
  872.         <visible> <true /> </visible>
  873.         <dontWrap> <false /> </dontWrap>
  874.         <dontSearch> <false /> </dontSearch>
  875.         <sharedText> <false /> </sharedText>
  876.         <fixedLineHeight> <true /> </fixedLineHeight>
  877.         <autoTab> <false /> </autoTab>
  878.         <lockText> <false /> </lockText>
  879.         <rect>
  880.             <left>290</left>
  881.             <top>47</top>
  882.             <right>490</right>
  883.             <bottom>95</bottom>
  884.         </rect>
  885.         <style>opaque</style>
  886.         <autoSelect> <false /> </autoSelect>
  887.         <showLines> <false /> </showLines>
  888.         <wideMargins> <false /> </wideMargins>
  889.         <multipleLines> <false /> </multipleLines>
  890.         <reservedFamily> 0 </reservedFamily>
  891.         <titleWidth>0</titleWidth>
  892.         <icon>0</icon>
  893.         <textAlign>left</textAlign>
  894.         <font>Geneva</font>
  895.         <textSize>12</textSize>
  896.         <textStyle>plain</textStyle>
  897.         <textHeight>16</textHeight>
  898.         <name>block</name>
  899.         <script></script>
  900.     </part>
  901.     <part>
  902.         <id>97</id>
  903.         <type>field</type>
  904.         <visible> <false /> </visible>
  905.         <dontWrap> <false /> </dontWrap>
  906.         <dontSearch> <false /> </dontSearch>
  907.         <sharedText> <false /> </sharedText>
  908.         <fixedLineHeight> <true /> </fixedLineHeight>
  909.         <autoTab> <false /> </autoTab>
  910.         <lockText> <true /> </lockText>
  911.         <rect>
  912.             <left>24</left>
  913.             <top>105</top>
  914.             <right>114</right>
  915.             <bottom>124</bottom>
  916.         </rect>
  917.         <style>transparent</style>
  918.         <autoSelect> <false /> </autoSelect>
  919.         <showLines> <false /> </showLines>
  920.         <wideMargins> <false /> </wideMargins>
  921.         <multipleLines> <false /> </multipleLines>
  922.         <reservedFamily> 0 </reservedFamily>
  923.         <titleWidth>0</titleWidth>
  924.         <icon>0</icon>
  925.         <textAlign>left</textAlign>
  926.         <font>Geneva</font>
  927.         <textSize>12</textSize>
  928.         <textStyle>bold</textStyle>
  929.         <textHeight>16</textHeight>
  930.         <name></name>
  931.         <script></script>
  932.     </part>
  933.     <part>
  934.         <id>99</id>
  935.         <type>button</type>
  936.         <visible> <true /> </visible>
  937.         <reserved5> 0 </reserved5>
  938.         <reserved4> 0 </reserved4>
  939.         <reserved3> 0 </reserved3>
  940.         <reserved2> 0 </reserved2>
  941.         <reserved1> 0 </reserved1>
  942.         <enabled> <true /> </enabled>
  943.         <rect>
  944.             <left>388</left>
  945.             <top>178</top>
  946.             <right>482</right>
  947.             <bottom>213</bottom>
  948.         </rect>
  949.         <style>roundrect</style>
  950.         <showName> <true /> </showName>
  951.         <highlight> <false /> </highlight>
  952.         <autoHighlight> <true /> </autoHighlight>
  953.         <sharedHighlight> <true /> </sharedHighlight>
  954.         <family>0</family>
  955.         <titleWidth>0</titleWidth>
  956.         <icon>0</icon>
  957.         <textAlign>center</textAlign>
  958.         <font>Chicago</font>
  959.         <textSize>12</textSize>
  960.         <textStyle>plain</textStyle>
  961.         <name>show number </name>
  962.         <script>on mouseUp
  963.  
  964. put 28 into fid
  965.  
  966. put line 1 of card field veclength of card testcard into mc
  967.  
  968. repeat with i = 1 to mc
  969. put item 1 of line i of card field output into num
  970. if num <= 0 then
  971. put empty into num
  972. end if
  973.  
  974. if num >= 0 then
  975. put 1 into num
  976. end if
  977.  
  978. put num into card field i of card numbers
  979.  
  980. -- if num = 1 then
  981. --   show card field id fid
  982. --  end if
  983.  
  984. --  put fid + 1 into fid
  985. end repeat
  986.  
  987. go to card numbers
  988.  
  989. hide card button learn
  990. hide card button id 17
  991. show card field id 27
  992.  
  993.  
  994. end mouseUp
  995. </script>
  996.     </part>
  997.     <part>
  998.         <id>100</id>
  999.         <type>field</type>
  1000.         <visible> <false /> </visible>
  1001.         <dontWrap> <false /> </dontWrap>
  1002.         <dontSearch> <false /> </dontSearch>
  1003.         <sharedText> <false /> </sharedText>
  1004.         <fixedLineHeight> <true /> </fixedLineHeight>
  1005.         <autoTab> <false /> </autoTab>
  1006.         <lockText> <false /> </lockText>
  1007.         <rect>
  1008.             <left>174</left>
  1009.             <top>29</top>
  1010.             <right>277</right>
  1011.             <bottom>49</bottom>
  1012.         </rect>
  1013.         <style>transparent</style>
  1014.         <autoSelect> <false /> </autoSelect>
  1015.         <showLines> <false /> </showLines>
  1016.         <wideMargins> <false /> </wideMargins>
  1017.         <multipleLines> <false /> </multipleLines>
  1018.         <reservedFamily> 0 </reservedFamily>
  1019.         <titleWidth>0</titleWidth>
  1020.         <icon>0</icon>
  1021.         <textAlign>left</textAlign>
  1022.         <font>Geneva</font>
  1023.         <textSize>12</textSize>
  1024.         <textStyle>bold</textStyle>
  1025.         <textHeight>16</textHeight>
  1026.         <name>calcing</name>
  1027.         <script></script>
  1028.     </part>
  1029.     <part>
  1030.         <id>108</id>
  1031.         <type>field</type>
  1032.         <visible> <false /> </visible>
  1033.         <dontWrap> <false /> </dontWrap>
  1034.         <dontSearch> <false /> </dontSearch>
  1035.         <sharedText> <false /> </sharedText>
  1036.         <fixedLineHeight> <true /> </fixedLineHeight>
  1037.         <autoTab> <false /> </autoTab>
  1038.         <lockText> <false /> </lockText>
  1039.         <rect>
  1040.             <left>98</left>
  1041.             <top>33</top>
  1042.             <right>293</right>
  1043.             <bottom>57</bottom>
  1044.         </rect>
  1045.         <style>opaque</style>
  1046.         <autoSelect> <false /> </autoSelect>
  1047.         <showLines> <false /> </showLines>
  1048.         <wideMargins> <true /> </wideMargins>
  1049.         <multipleLines> <false /> </multipleLines>
  1050.         <reservedFamily> 0 </reservedFamily>
  1051.         <titleWidth>0</titleWidth>
  1052.         <icon>0</icon>
  1053.         <textAlign>left</textAlign>
  1054.         <font>Geneva</font>
  1055.         <textSize>12</textSize>
  1056.         <textStyle>bold</textStyle>
  1057.         <textHeight>16</textHeight>
  1058.         <name>weightchange</name>
  1059.         <script></script>
  1060.     </part>
  1061.     <part>
  1062.         <id>103</id>
  1063.         <type>button</type>
  1064.         <visible> <true /> </visible>
  1065.         <reserved5> 0 </reserved5>
  1066.         <reserved4> 0 </reserved4>
  1067.         <reserved3> 0 </reserved3>
  1068.         <reserved2> 0 </reserved2>
  1069.         <reserved1> 0 </reserved1>
  1070.         <enabled> <true /> </enabled>
  1071.         <rect>
  1072.             <left>408</left>
  1073.             <top>98</top>
  1074.             <right>480</right>
  1075.             <bottom>131</bottom>
  1076.         </rect>
  1077.         <style>roundrect</style>
  1078.         <showName> <true /> </showName>
  1079.         <highlight> <false /> </highlight>
  1080.         <autoHighlight> <true /> </autoHighlight>
  1081.         <sharedHighlight> <true /> </sharedHighlight>
  1082.         <family>0</family>
  1083.         <titleWidth>0</titleWidth>
  1084.         <icon>0</icon>
  1085.         <textAlign>center</textAlign>
  1086.         <font>Chicago</font>
  1087.         <textSize>12</textSize>
  1088.         <textStyle>plain</textStyle>
  1089.         <name>LEARN</name>
  1090.         <script>on mouseUp
  1091.  
  1092. --************************************
  1093. --INITIALIZE
  1094.  
  1095.  
  1096. put "initializing network..." into line 1 of card field info
  1097. show card field info
  1098.  
  1099. put line 1 of card field maxins into mr
  1100. put mr into maxpats
  1101. put line 1 of card field veclength of card testcard into mc
  1102.  
  1103. put line 1 of card field rho of card 2 into alpha
  1104. put 0 into done
  1105. put 0 into alldone
  1106.  
  1107. hide card field id 106
  1108.  
  1109. show card field wts
  1110. hide  card button "hide inputs"
  1111. hide card field block
  1112. hide card field totals
  1113. hide card field finished
  1114. hide card field delta
  1115. hide card field sign
  1116. hide card field tempres
  1117.  
  1118. hide card field id 86
  1119. hide card field id 87
  1120. hide card field ins
  1121. hide card field targs
  1122.  
  1123. show card field tgets
  1124. show card field id 83
  1125.  
  1126.  
  1127. put 1 into card field pattnum
  1128. put 1 into card field cycle
  1129. put empty into card field tgets
  1130. put empty into card field output
  1131. put empty into card field input
  1132. put empty into card field wts
  1133.  
  1134.  
  1135.  
  1136.  
  1137. put empty into card field totals
  1138.  
  1139. put empty into card field finished
  1140.  
  1141. put empty into  card field tempres
  1142.  
  1143.  
  1144. put "initializing network..." into line 1 of card field info
  1145. show card field info
  1146.  
  1147.  
  1148.  
  1149. --*************************************
  1150. --*************************************
  1151. --*************************************
  1152.  
  1153. put 1 into inputnum
  1154. put 1 into targetnum
  1155.  
  1156.  
  1157. repeat until alldone = 1
  1158.  
  1159.  
  1160. put 0 into done
  1161. put 0 into alldone
  1162.  
  1163. put inputnum into card field pattnum
  1164.  
  1165. repeat with n = 1 to 3
  1166. hide card field pattnum
  1167. wait 10 ticks
  1168. show card field pattnum
  1169. wait 10 ticks
  1170. end repeat
  1171.  
  1172.  
  1173.  
  1174. put empty into  card field totals
  1175.  
  1176.  
  1177. repeat with row = 1 to mc
  1178. put 0 into line row of card field finished
  1179. end repeat
  1180.  
  1181.  
  1182.  
  1183.  
  1184. -- repeat with row = 1 to mc
  1185. --   put 0 into line row of card field output
  1186. --end repeat
  1187. put empty into card field output
  1188.  
  1189. repeat with row = 1 to mc
  1190. repeat with col = 1 to mc
  1191. put 0 into item col of line row of card field tempres
  1192. end repeat
  1193. end repeat
  1194.  
  1195. put "loading inputs and targets..." into line 1 of card field info
  1196. show card field info
  1197.  
  1198.  
  1199. repeat with col = 1 to mc
  1200. put item col of line inputnum of card field ins into¬¨
  1201. item col of line 1 of card field input
  1202. end repeat
  1203.  
  1204. put 1 into n
  1205. repeat with col = 1 to mc
  1206. put item col of line targetnum of card field targs into¬¨
  1207. item 1 of line n of card field tgets
  1208. put n+1 into n
  1209. end repeat
  1210.  
  1211.  
  1212.  
  1213. put 1 into cyc
  1214.  
  1215. repeat until done = 1
  1216. put cyc into line 1 of card field cycle
  1217.  
  1218. repeat with n = 1 to 3
  1219. hide card field cycle
  1220. wait 10 ticks
  1221. show card field cycle
  1222. wait 10 ticks
  1223. end repeat
  1224.  
  1225.  
  1226. put "calculating total input..." into line 1 of card field info
  1227. show card field info
  1228.  
  1229. repeat with row = 1 to mc
  1230. repeat with col = 1 to mc
  1231.  
  1232.  
  1233.  
  1234.  
  1235. put item col of line row of card field wts into w
  1236. put item col of line 1 of card field input into i
  1237. put w * i into r
  1238. put r into item col of line row of card field tempres
  1239. --wait 20 ticks
  1240.  
  1241. end repeat
  1242.  
  1243. end repeat
  1244.  
  1245.  
  1246. -- a(i) * a(j)  sign
  1247.  
  1248.  
  1249. repeat with row = 1 to mc
  1250. put item row of line targetnum of card field targs into t
  1251. repeat with col = 1 to mc
  1252. put item col of line inputnum of card field ins into i
  1253. put t * i into r
  1254. put r into item col of line row of card field sign
  1255. end repeat
  1256. end repeat
  1257.  
  1258.  
  1259.  
  1260. --add up ie. net input
  1261.  
  1262. put "calculating outputs..." into line 1 of card field info
  1263. show card field info
  1264.  
  1265.  
  1266.  
  1267. repeat with row = 1 to mc
  1268. put 0 into tot
  1269. repeat with col = 1 to mc
  1270. put item col of line row of card field tempres into r1
  1271. put r1 + tot into tot
  1272. end repeat
  1273.  
  1274. put tot into line row of card field totals
  1275. put tot into line row of card field output
  1276.  
  1277. put line row of card field tgets into targ
  1278. if targ = 1 then
  1279. if tot >= 1 then
  1280. put 1 into line row of card field finished
  1281. end if
  1282. end if
  1283. if targ = -1 then
  1284. if tot <= -1 then
  1285. put 1 into line row of card field finished
  1286. end if
  1287. end if
  1288.  
  1289.  
  1290. end repeat
  1291.  
  1292. --*******************************************************
  1293.  
  1294. --change weights
  1295.  
  1296.  
  1297. put "changing weights..." into line 1 of card field info
  1298. show card field info
  1299.  
  1300.  
  1301. repeat with row = 1 to mc
  1302. repeat with col = 1 to mc
  1303.  
  1304.  
  1305.  
  1306. if line row of card field finished = 0 then
  1307. if item col of line row of card field sign = -1 then
  1308. put item col of line row of card field wts into w
  1309.  
  1310. put w - alpha into item col of line row of card field  wts
  1311. end if
  1312. end if
  1313.  
  1314. if line row of card field finished = 0 then
  1315. if item col of line row of card field sign = 1 then
  1316. put item col of line row of card field wts into w
  1317.  
  1318. put w + alpha into item col of line row of card field  wts
  1319. end if
  1320. end if
  1321.  
  1322.  
  1323.  
  1324.  
  1325. end repeat
  1326. end repeat
  1327.  
  1328. -- check if done
  1329. put 0 into tot
  1330. repeat with row = 1 to mc
  1331. if line row of card field finished = 1 then
  1332. put tot+1 into tot
  1333. end if
  1334. if tot = mc then
  1335. put 1 into done
  1336.  
  1337. end if
  1338. end repeat
  1339.  
  1340.  
  1341. --flash
  1342. put cyc + 1 into cyc
  1343. end repeat
  1344. --beep
  1345.  
  1346.  
  1347. put targetnum+1 into targetnum
  1348. put inputnum+1 into inputnum
  1349.  
  1350. -- check if all done
  1351. if inputnum = maxpats + 1 then
  1352. put 1 into alldone
  1353. end if
  1354.  
  1355.  
  1356.  
  1357. end repeat
  1358.  
  1359. beep
  1360.  
  1361. answer "TEST?" with yes or no
  1362. if it is "yes" then
  1363. put 1 into test
  1364. go to card testcard
  1365.  
  1366. repeat with n = 1 to 2
  1367. hide card field id 15
  1368. wait 10 ticks
  1369. show card field id 15
  1370. wait 10 ticks
  1371. end repeat
  1372.  
  1373. repeat with n = 1 to 2
  1374. hide card field id 14
  1375. wait 10 ticks
  1376. show card field id 14
  1377. wait 10 ticks
  1378. end repeat
  1379. end if
  1380.  
  1381. --************************
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391. end mouseUp
  1392. </script>
  1393.     </part>
  1394.     <part>
  1395.         <id>107</id>
  1396.         <type>field</type>
  1397.         <visible> <false /> </visible>
  1398.         <dontWrap> <false /> </dontWrap>
  1399.         <dontSearch> <false /> </dontSearch>
  1400.         <sharedText> <false /> </sharedText>
  1401.         <fixedLineHeight> <true /> </fixedLineHeight>
  1402.         <autoTab> <false /> </autoTab>
  1403.         <lockText> <false /> </lockText>
  1404.         <rect>
  1405.             <left>98</left>
  1406.             <top>33</top>
  1407.             <right>294</right>
  1408.             <bottom>57</bottom>
  1409.         </rect>
  1410.         <style>opaque</style>
  1411.         <autoSelect> <false /> </autoSelect>
  1412.         <showLines> <false /> </showLines>
  1413.         <wideMargins> <true /> </wideMargins>
  1414.         <multipleLines> <false /> </multipleLines>
  1415.         <reservedFamily> 0 </reservedFamily>
  1416.         <titleWidth>0</titleWidth>
  1417.         <icon>0</icon>
  1418.         <textAlign>left</textAlign>
  1419.         <font>Geneva</font>
  1420.         <textSize>12</textSize>
  1421.         <textStyle>bold</textStyle>
  1422.         <textHeight>16</textHeight>
  1423.         <name>addnetip</name>
  1424.         <script></script>
  1425.     </part>
  1426.     <part>
  1427.         <id>104</id>
  1428.         <type>button</type>
  1429.         <visible> <true /> </visible>
  1430.         <reserved5> 0 </reserved5>
  1431.         <reserved4> 0 </reserved4>
  1432.         <reserved3> 0 </reserved3>
  1433.         <reserved2> 0 </reserved2>
  1434.         <reserved1> 0 </reserved1>
  1435.         <enabled> <true /> </enabled>
  1436.         <rect>
  1437.             <left>421</left>
  1438.             <top>298</top>
  1439.             <right>485</right>
  1440.             <bottom>320</bottom>
  1441.         </rect>
  1442.         <style>rectangle</style>
  1443.         <showName> <true /> </showName>
  1444.         <highlight> <false /> </highlight>
  1445.         <autoHighlight> <true /> </autoHighlight>
  1446.         <sharedHighlight> <true /> </sharedHighlight>
  1447.         <family>0</family>
  1448.         <titleWidth>0</titleWidth>
  1449.         <icon>0</icon>
  1450.         <textAlign>center</textAlign>
  1451.         <font>Chicago</font>
  1452.         <textSize>12</textSize>
  1453.         <textStyle>plain</textStyle>
  1454.         <name>numbers</name>
  1455.         <script>on mouseUp
  1456. go to card numbers
  1457. end mouseUp
  1458. </script>
  1459.     </part>
  1460.     <part>
  1461.         <id>105</id>
  1462.         <type>button</type>
  1463.         <visible> <true /> </visible>
  1464.         <reserved5> 0 </reserved5>
  1465.         <reserved4> 0 </reserved4>
  1466.         <reserved3> 0 </reserved3>
  1467.         <reserved2> 0 </reserved2>
  1468.         <reserved1> 0 </reserved1>
  1469.         <enabled> <true /> </enabled>
  1470.         <rect>
  1471.             <left>421</left>
  1472.             <top>269</top>
  1473.             <right>485</right>
  1474.             <bottom>292</bottom>
  1475.         </rect>
  1476.         <style>rectangle</style>
  1477.         <showName> <true /> </showName>
  1478.         <highlight> <false /> </highlight>
  1479.         <autoHighlight> <true /> </autoHighlight>
  1480.         <sharedHighlight> <true /> </sharedHighlight>
  1481.         <family>0</family>
  1482.         <titleWidth>0</titleWidth>
  1483.         <icon>0</icon>
  1484.         <textAlign>center</textAlign>
  1485.         <font>Chicago</font>
  1486.         <textSize>12</textSize>
  1487.         <textStyle>plain</textStyle>
  1488.         <name>setup</name>
  1489.         <script>on mouseUp
  1490. go to card testcard
  1491. end mouseUp
  1492. </script>
  1493.     </part>
  1494.     <part>
  1495.         <id>106</id>
  1496.         <type>field</type>
  1497.         <visible> <false /> </visible>
  1498.         <dontWrap> <false /> </dontWrap>
  1499.         <dontSearch> <false /> </dontSearch>
  1500.         <sharedText> <false /> </sharedText>
  1501.         <fixedLineHeight> <true /> </fixedLineHeight>
  1502.         <autoTab> <false /> </autoTab>
  1503.         <lockText> <false /> </lockText>
  1504.         <rect>
  1505.             <left>19</left>
  1506.             <top>126</top>
  1507.             <right>261</right>
  1508.             <bottom>297</bottom>
  1509.         </rect>
  1510.         <style>opaque</style>
  1511.         <autoSelect> <false /> </autoSelect>
  1512.         <showLines> <false /> </showLines>
  1513.         <wideMargins> <true /> </wideMargins>
  1514.         <multipleLines> <false /> </multipleLines>
  1515.         <reservedFamily> 0 </reservedFamily>
  1516.         <titleWidth>0</titleWidth>
  1517.         <icon>0</icon>
  1518.         <textAlign>left</textAlign>
  1519.         <font>Geneva</font>
  1520.         <textSize>18</textSize>
  1521.         <textStyle>bold</textStyle>
  1522.         <textHeight>24</textHeight>
  1523.         <name>wts</name>
  1524.         <script></script>
  1525.     </part>
  1526.     <part>
  1527.         <id>109</id>
  1528.         <type>field</type>
  1529.         <visible> <true /> </visible>
  1530.         <dontWrap> <false /> </dontWrap>
  1531.         <dontSearch> <false /> </dontSearch>
  1532.         <sharedText> <false /> </sharedText>
  1533.         <fixedLineHeight> <true /> </fixedLineHeight>
  1534.         <autoTab> <false /> </autoTab>
  1535.         <lockText> <false /> </lockText>
  1536.         <rect>
  1537.             <left>70</left>
  1538.             <top>40</top>
  1539.             <right>302</right>
  1540.             <bottom>65</bottom>
  1541.         </rect>
  1542.         <style>opaque</style>
  1543.         <autoSelect> <false /> </autoSelect>
  1544.         <showLines> <false /> </showLines>
  1545.         <wideMargins> <false /> </wideMargins>
  1546.         <multipleLines> <false /> </multipleLines>
  1547.         <reservedFamily> 0 </reservedFamily>
  1548.         <titleWidth>0</titleWidth>
  1549.         <icon>0</icon>
  1550.         <textAlign>left</textAlign>
  1551.         <font>Times</font>
  1552.         <textSize>18</textSize>
  1553.         <textStyle>bold</textStyle>
  1554.         <textHeight>24</textHeight>
  1555.         <name>info</name>
  1556.         <script></script>
  1557.     </part>
  1558.     <part>
  1559.         <id>110</id>
  1560.         <type>field</type>
  1561.         <visible> <true /> </visible>
  1562.         <dontWrap> <false /> </dontWrap>
  1563.         <dontSearch> <false /> </dontSearch>
  1564.         <sharedText> <false /> </sharedText>
  1565.         <fixedLineHeight> <true /> </fixedLineHeight>
  1566.         <autoTab> <false /> </autoTab>
  1567.         <lockText> <false /> </lockText>
  1568.         <rect>
  1569.             <left>23</left>
  1570.             <top>42</top>
  1571.             <right>71</right>
  1572.             <bottom>65</bottom>
  1573.         </rect>
  1574.         <style>transparent</style>
  1575.         <autoSelect> <false /> </autoSelect>
  1576.         <showLines> <false /> </showLines>
  1577.         <wideMargins> <true /> </wideMargins>
  1578.         <multipleLines> <false /> </multipleLines>
  1579.         <reservedFamily> 0 </reservedFamily>
  1580.         <titleWidth>0</titleWidth>
  1581.         <icon>0</icon>
  1582.         <textAlign>left</textAlign>
  1583.         <font>Geneva</font>
  1584.         <textSize>12</textSize>
  1585.         <textStyle>bold</textStyle>
  1586.         <textHeight>16</textHeight>
  1587.         <name>info</name>
  1588.         <script></script>
  1589.     </part>
  1590.     <part>
  1591.         <id>111</id>
  1592.         <type>field</type>
  1593.         <visible> <true /> </visible>
  1594.         <dontWrap> <false /> </dontWrap>
  1595.         <dontSearch> <false /> </dontSearch>
  1596.         <sharedText> <false /> </sharedText>
  1597.         <fixedLineHeight> <true /> </fixedLineHeight>
  1598.         <autoTab> <false /> </autoTab>
  1599.         <lockText> <false /> </lockText>
  1600.         <rect>
  1601.             <left>430</left>
  1602.             <top>16</top>
  1603.             <right>491</right>
  1604.             <bottom>49</bottom>
  1605.         </rect>
  1606.         <style>transparent</style>
  1607.         <autoSelect> <false /> </autoSelect>
  1608.         <showLines> <false /> </showLines>
  1609.         <wideMargins> <false /> </wideMargins>
  1610.         <multipleLines> <false /> </multipleLines>
  1611.         <reservedFamily> 0 </reservedFamily>
  1612.         <titleWidth>0</titleWidth>
  1613.         <icon>0</icon>
  1614.         <textAlign>left</textAlign>
  1615.         <font>Times</font>
  1616.         <textSize>12</textSize>
  1617.         <textStyle>bold</textStyle>
  1618.         <textHeight>16</textHeight>
  1619.         <name></name>
  1620.         <script></script>
  1621.     </part>
  1622.     <part>
  1623.         <id>112</id>
  1624.         <type>button</type>
  1625.         <visible> <true /> </visible>
  1626.         <reserved5> 0 </reserved5>
  1627.         <reserved4> 0 </reserved4>
  1628.         <reserved3> 0 </reserved3>
  1629.         <reserved2> 0 </reserved2>
  1630.         <reserved1> 0 </reserved1>
  1631.         <enabled> <true /> </enabled>
  1632.         <rect>
  1633.             <left>422</left>
  1634.             <top>226</top>
  1635.             <right>486</right>
  1636.             <bottom>246</bottom>
  1637.         </rect>
  1638.         <style>roundrect</style>
  1639.         <showName> <true /> </showName>
  1640.         <highlight> <false /> </highlight>
  1641.         <autoHighlight> <true /> </autoHighlight>
  1642.         <sharedHighlight> <true /> </sharedHighlight>
  1643.         <family>0</family>
  1644.         <titleWidth>0</titleWidth>
  1645.         <icon>0</icon>
  1646.         <textAlign>center</textAlign>
  1647.         <font>Chicago</font>
  1648.         <textSize>12</textSize>
  1649.         <textStyle>plain</textStyle>
  1650.         <name>save wts</name>
  1651.         <script>on mouseUp
  1652.  
  1653.  
  1654. put line 1 of card field veclength of card testcard into mc
  1655.  
  1656. put "Saving weights..." into card field info
  1657.  
  1658. repeat with row = 1 to mc
  1659. repeat with col = 1 to mc
  1660. put item col of line row  of card field wts ¬¨
  1661. into item col of line row of card field savewts
  1662.  
  1663. end repeat
  1664. end repeat
  1665.  
  1666.  
  1667.  
  1668. put "Weights saved o.k." into card field info
  1669.  
  1670.  
  1671.  
  1672.  
  1673. end mouseUp
  1674. </script>
  1675.     </part>
  1676.     <part>
  1677.         <id>113</id>
  1678.         <type>button</type>
  1679.         <visible> <true /> </visible>
  1680.         <reserved5> 0 </reserved5>
  1681.         <reserved4> 0 </reserved4>
  1682.         <reserved3> 0 </reserved3>
  1683.         <reserved2> 0 </reserved2>
  1684.         <reserved1> 0 </reserved1>
  1685.         <enabled> <true /> </enabled>
  1686.         <rect>
  1687.             <left>423</left>
  1688.             <top>247</top>
  1689.             <right>487</right>
  1690.             <bottom>267</bottom>
  1691.         </rect>
  1692.         <style>roundrect</style>
  1693.         <showName> <true /> </showName>
  1694.         <highlight> <false /> </highlight>
  1695.         <autoHighlight> <true /> </autoHighlight>
  1696.         <sharedHighlight> <true /> </sharedHighlight>
  1697.         <family>0</family>
  1698.         <titleWidth>0</titleWidth>
  1699.         <icon>0</icon>
  1700.         <textAlign>center</textAlign>
  1701.         <font>Chicago</font>
  1702.         <textSize>12</textSize>
  1703.         <textStyle>plain</textStyle>
  1704.         <name>load wts</name>
  1705.         <script>on mouseUp
  1706.  
  1707.  
  1708. put line 1 of card field veclength of card testcard into mc
  1709.  
  1710.  
  1711. put "Loading weights..." into card field info
  1712.  
  1713.  
  1714. repeat with row = 1 to mc
  1715. repeat with col = 1 to mc
  1716.  
  1717. put item col of line row of card field savewts into temp
  1718. if temp <> empty then
  1719. put temp into item col of line row of card field wts
  1720. else
  1721. put 0 into item col of line row of card field wts
  1722. show card field id cross
  1723. end if
  1724.  
  1725.  
  1726. end repeat
  1727. end repeat
  1728.  
  1729.  
  1730.  
  1731. put "Weights loaded o.k." into card field info
  1732.  
  1733. end mouseUp
  1734. </script>
  1735.     </part>
  1736.     <part>
  1737.         <id>114</id>
  1738.         <type>field</type>
  1739.         <visible> <false /> </visible>
  1740.         <dontWrap> <false /> </dontWrap>
  1741.         <dontSearch> <false /> </dontSearch>
  1742.         <sharedText> <false /> </sharedText>
  1743.         <fixedLineHeight> <true /> </fixedLineHeight>
  1744.         <autoTab> <false /> </autoTab>
  1745.         <lockText> <true /> </lockText>
  1746.         <rect>
  1747.             <left>42</left>
  1748.             <top>110</top>
  1749.             <right>268</right>
  1750.             <bottom>277</bottom>
  1751.         </rect>
  1752.         <style>scrolling</style>
  1753.         <autoSelect> <false /> </autoSelect>
  1754.         <showLines> <false /> </showLines>
  1755.         <wideMargins> <true /> </wideMargins>
  1756.         <multipleLines> <false /> </multipleLines>
  1757.         <reservedFamily> 0 </reservedFamily>
  1758.         <titleWidth>0</titleWidth>
  1759.         <icon>0</icon>
  1760.         <textAlign>left</textAlign>
  1761.         <font>Geneva</font>
  1762.         <textSize>9</textSize>
  1763.         <textStyle>bold</textStyle>
  1764.         <textHeight>12</textHeight>
  1765.         <name>savewts</name>
  1766.         <script></script>
  1767.     </part>
  1768.     <part>
  1769.         <id>115</id>
  1770.         <type>field</type>
  1771.         <visible> <false /> </visible>
  1772.         <dontWrap> <false /> </dontWrap>
  1773.         <dontSearch> <false /> </dontSearch>
  1774.         <sharedText> <false /> </sharedText>
  1775.         <fixedLineHeight> <true /> </fixedLineHeight>
  1776.         <autoTab> <false /> </autoTab>
  1777.         <lockText> <false /> </lockText>
  1778.         <rect>
  1779.             <left>68</left>
  1780.             <top>40</top>
  1781.             <right>315</right>
  1782.             <bottom>67</bottom>
  1783.         </rect>
  1784.         <style>opaque</style>
  1785.         <autoSelect> <false /> </autoSelect>
  1786.         <showLines> <false /> </showLines>
  1787.         <wideMargins> <false /> </wideMargins>
  1788.         <multipleLines> <false /> </multipleLines>
  1789.         <reservedFamily> 0 </reservedFamily>
  1790.         <titleWidth>0</titleWidth>
  1791.         <icon>0</icon>
  1792.         <textAlign>left</textAlign>
  1793.         <font>Times</font>
  1794.         <textSize>18</textSize>
  1795.         <textStyle>bold</textStyle>
  1796.         <textHeight>24</textHeight>
  1797.         <name></name>
  1798.         <script></script>
  1799.     </part>
  1800.     <part>
  1801.         <id>117</id>
  1802.         <type>field</type>
  1803.         <visible> <false /> </visible>
  1804.         <dontWrap> <false /> </dontWrap>
  1805.         <dontSearch> <false /> </dontSearch>
  1806.         <sharedText> <false /> </sharedText>
  1807.         <fixedLineHeight> <true /> </fixedLineHeight>
  1808.         <autoTab> <false /> </autoTab>
  1809.         <lockText> <false /> </lockText>
  1810.         <rect>
  1811.             <left>68</left>
  1812.             <top>40</top>
  1813.             <right>295</right>
  1814.             <bottom>66</bottom>
  1815.         </rect>
  1816.         <style>opaque</style>
  1817.         <autoSelect> <false /> </autoSelect>
  1818.         <showLines> <false /> </showLines>
  1819.         <wideMargins> <false /> </wideMargins>
  1820.         <multipleLines> <false /> </multipleLines>
  1821.         <reservedFamily> 0 </reservedFamily>
  1822.         <titleWidth>0</titleWidth>
  1823.         <icon>0</icon>
  1824.         <textAlign>left</textAlign>
  1825.         <font>Times</font>
  1826.         <textSize>18</textSize>
  1827.         <textStyle>bold</textStyle>
  1828.         <textHeight>24</textHeight>
  1829.         <name></name>
  1830.         <script></script>
  1831.     </part>
  1832.     <content>
  1833.         <layer>card</layer>
  1834.         <id>63</id>
  1835.         <text>0
  1836. 0
  1837. 0
  1838. 0
  1839. 0
  1840. 0
  1841. 0
  1842. 0
  1843. 0
  1844. 0</text>
  1845.     </content>
  1846.     <content>
  1847.         <layer>card</layer>
  1848.         <id>75</id>
  1849.         <text>1</text>
  1850.     </content>
  1851.     <content>
  1852.         <layer>card</layer>
  1853.         <id>79</id>
  1854.         <text>2</text>
  1855.     </content>
  1856.     <content>
  1857.         <layer>card</layer>
  1858.         <id>81</id>
  1859.         <text>OUTPUT</text>
  1860.     </content>
  1861.     <content>
  1862.         <layer>card</layer>
  1863.         <id>83</id>
  1864.         <text>TARGET</text>
  1865.     </content>
  1866.     <content>
  1867.         <layer>card</layer>
  1868.         <id>86</id>
  1869.         <text>INPUTS</text>
  1870.     </content>
  1871.     <content>
  1872.         <layer>card</layer>
  1873.         <id>87</id>
  1874.         <text>TARGETS</text>
  1875.     </content>
  1876.     <content>
  1877.         <layer>card</layer>
  1878.         <id>66</id>
  1879.         <text>1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,1,1
  1880. 1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,1,1
  1881. 1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,1,1
  1882. -1,-1,-1,1,1,-1,-1,-1,-1,1,1,-1,-1,-1,-1
  1883. -1,-1,-1,1,1,-1,-1,-1,-1,1,1,-1,-1,-1,-1
  1884. 1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,1,1
  1885. 1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,1,1
  1886. 1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,1,1
  1887. 1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,1,1
  1888. -1,-1,-1,1,1,-1,-1,-1,-1,1,1,-1,-1,-1,-1
  1889. -1,-1,-1,1,1,-1,-1,-1,-1,1,1,-1,-1,-1,-1
  1890. 1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,1,1
  1891. 1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,1,1
  1892. 1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,1,1
  1893. 1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,1,1</text>
  1894.     </content>
  1895.     <content>
  1896.         <layer>card</layer>
  1897.         <id>89</id>
  1898.         <text>2</text>
  1899.     </content>
  1900.     <content>
  1901.         <layer>card</layer>
  1902.         <id>93</id>
  1903.         <text>INPUT</text>
  1904.     </content>
  1905.     <content>
  1906.         <layer>card</layer>
  1907.         <id>94</id>
  1908.         <text>cycle</text>
  1909.     </content>
  1910.     <content>
  1911.         <layer>card</layer>
  1912.         <id>95</id>
  1913.         <text>pattern </text>
  1914.     </content>
  1915.     <content>
  1916.         <layer>card</layer>
  1917.         <id>96</id>
  1918.         <text>out of</text>
  1919.     </content>
  1920.     <content>
  1921.         <layer>card</layer>
  1922.         <id>97</id>
  1923.         <text>WEIGHTS</text>
  1924.     </content>
  1925.     <content>
  1926.         <layer>card</layer>
  1927.         <id>100</id>
  1928.         <text>calculating...</text>
  1929.     </content>
  1930.     <content>
  1931.         <layer>card</layer>
  1932.         <id>106</id>
  1933.         <text>This output pattern can now be checked to see what number this pattern actually is.  Click "show   number" at right...</text>
  1934.     </content>
  1935.     <content>
  1936.         <layer>card</layer>
  1937.         <id>107</id>
  1938.         <text>Adding up total inputs..</text>
  1939.     </content>
  1940.     <content>
  1941.         <layer>card</layer>
  1942.         <id>108</id>
  1943.         <text>Changing weights...</text>
  1944.     </content>
  1945.     <content>
  1946.         <layer>card</layer>
  1947.         <id>109</id>
  1948.         <text>Calculating output...</text>
  1949.     </content>
  1950.     <content>
  1951.         <layer>card</layer>
  1952.         <id>110</id>
  1953.         <text>Info:</text>
  1954.     </content>
  1955.     <content>
  1956.         <layer>card</layer>
  1957.         <id>111</id>
  1958.         <text>
  1959. MATRIX</text>
  1960.     </content>
  1961.     <content>
  1962.         <layer>card</layer>
  1963.         <id>114</id>
  1964.         <text>1.2,0.4,0.4,0.4,-.4,0.4,1.2,1.2,0.4,0.4,-.4,-.4,0.4,0.4,0.4
  1965. 0.8,0.8,0,0,0,0,0.8,0.8,0,0.8,0,-.8,0.8,0.8,0
  1966. 0,0,0.8,-.8,-.8,0.8,0,0,0.8,0,-.8,0,0,0,0.8
  1967. 0.8,0,0,1.6,0,-.8,0.8,0.8,0,-.8,0,0.8,0,0,0
  1968. 0,0,-.8,0.8,0.8,-.8,0,0,-.8,0,0.8,0,0,0,-.8
  1969. -.4,-.4,0.4,-1.2,-.4,1.2,-.4,-.4,0.4,0.4,-.4,-.4,-.4,-.4,0.4
  1970. 1.2,0.4,0.4,0.4,-.4,0.4,1.2,1.2,0.4,0.4,-.4,-.4,0.4,0.4,0.4
  1971. 1.2,0.4,0.4,0.4,-.4,0.4,1.2,1.2,0.4,0.4,-.4,-.4,0.4,0.4,0.4
  1972. 0,0,0.8,-.8,-.8,0.8,0,0,0.8,0,-.8,0,0,0,0.8
  1973. 0.4,0.4,-.4,0.4,0.4,-.4,0.4,0.4,-.4,1.2,0.4,-1.2,0.4,0.4,-.4
  1974. 0,0,-.8,0.8,0.8,-.8,0,0,-.8,0,0.8,0,0,0,-.8
  1975. -.4,-.4,0.4,-.4,-.4,0.4,-.4,-.4,0.4,-1.2,-.4,1.2,-.4,-.4,0.4
  1976. 0.8,0.8,0,0,0,0,0.8,0.8,0,0.8,0,-.8,0.8,0.8,0
  1977. 0.8,0.8,0,0,0,0,0.8,0.8,0,0.8,0,-.8,0.8,0.8,0
  1978. 0,0,0.8,-.8,-.8,0.8,0,0,0.8,0,-.8,0,0,0,0.8</text>
  1979.     </content>
  1980.     <content>
  1981.         <layer>card</layer>
  1982.         <id>115</id>
  1983.         <text>Saving weights... 
  1984.  
  1985.  
  1986.    </text>
  1987.     </content>
  1988.     <content>
  1989.         <layer>card</layer>
  1990.         <id>117</id>
  1991.         <text>Loading weights...
  1992.  
  1993.  
  1994. </text>
  1995.     </content>
  1996.     <content>
  1997.         <layer>card</layer>
  1998.         <id>76</id>
  1999.         <text>1,1,1,-1,-1,1,-1,1,-1,1,-1,-1,1,1,1
  2000. 1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,1,1</text>
  2001.     </content>
  2002.     <content>
  2003.         <layer>card</layer>
  2004.         <id>77</id>
  2005.         <text>1,1,1,-1,-1,1,-1,1,-1,1,-1,-1,1,1,1
  2006. 1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,1,1</text>
  2007.     </content>
  2008.     <content>
  2009.         <layer>card</layer>
  2010.         <id>67</id>
  2011.         <text>0
  2012. 0
  2013. 0
  2014. 0
  2015. 0
  2016. 0
  2017. 0
  2018. 0
  2019. 0
  2020. 0
  2021. 0
  2022. 0
  2023. 0
  2024. 0
  2025. 0</text>
  2026.     </content>
  2027.     <content>
  2028.         <layer>card</layer>
  2029.         <id>45</id>
  2030.         <text>1,1,1,-1,-1,1,-1,1,-1,-1,-1,-1,1,1,1</text>
  2031.     </content>
  2032.     <content>
  2033.         <layer>card</layer>
  2034.         <id>40</id>
  2035.         <text>1
  2036. 1
  2037. 1
  2038. -1
  2039. -1
  2040. 1
  2041. 1
  2042. 1
  2043. 1
  2044. -1
  2045. -1
  2046. 1
  2047. 1
  2048. 1
  2049. 1</text>
  2050.     </content>
  2051.     <content>
  2052.         <layer>card</layer>
  2053.         <id>36</id>
  2054.         <text>0.4,0.4,0.4,-.4,-.4,0.4,-.4,0.4,-.4,0.4,-.4,-.4,0.4,0.4,0.4
  2055. 0.4,0.4,0.4,-.4,-.4,0.4,-.4,0.4,-.4,0.4,-.4,-.4,0.4,0.4,0.4
  2056. 0.4,0.4,0.4,-.4,-.4,0.4,-.4,0.4,-.4,0.4,-.4,-.4,0.4,0.4,0.4
  2057. -.4,-.4,-.4,0.4,0.4,-.4,0.4,-.4,0.4,-.4,0.4,0.4,-.4,-.4,-.4
  2058. -.4,-.4,-.4,0.4,0.4,-.4,0.4,-.4,0.4,-.4,0.4,0.4,-.4,-.4,-.4
  2059. 0.4,0.4,0.4,-.4,-.4,0.4,-.4,0.4,-.4,0.4,-.4,-.4,0.4,0.4,0.4
  2060. 0,0,0,0,0,0,0.8,0,0.8,-.8,0,0.8,0,0,0
  2061. 0.4,0.4,0.4,-.4,-.4,0.4,-.4,0.4,-.4,0.4,-.4,-.4,0.4,0.4,0.4
  2062. 0,0,0,0,0,0,0.8,0,0.8,-.8,0,0.8,0,0,0
  2063. 0,0,0,0,0,0,-.8,0,-.8,0.8,0,-.8,0,0,0
  2064. -.4,-.4,-.4,0.4,0.4,-.4,0.4,-.4,0.4,-.4,0.4,0.4,-.4,-.4,-.4
  2065. 0,0,0,0,0,0,0.8,0,0.8,-.8,0,0.8,0,0,0
  2066. 0.4,0.4,0.4,-.4,-.4,0.4,-.4,0.4,-.4,0.4,-.4,-.4,0.4,0.4,0.4
  2067. 0.4,0.4,0.4,-.4,-.4,0.4,-.4,0.4,-.4,0.4,-.4,-.4,0.4,0.4,0.4
  2068. 0.4,0.4,0.4,-.4,-.4,0.4,-.4,0.4,-.4,0.4,-.4,-.4,0.4,0.4,0.4</text>
  2069.     </content>
  2070.     <content>
  2071.         <layer>card</layer>
  2072.         <id>38</id>
  2073.         <text>0
  2074. 0
  2075. 0
  2076. 0
  2077. 0
  2078. 0
  2079. 0
  2080. 0
  2081. 0
  2082. 0
  2083. 0
  2084. 0
  2085. 0
  2086. 0
  2087. 0</text>
  2088.     </content>
  2089.     <content>
  2090.         <layer>card</layer>
  2091.         <id>17</id>
  2092.         <text>0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,-.4,0.4,0.4,0.4,0.4,0.4
  2093. 0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,-.4,0.4,0.4,0.4,0.4,0.4
  2094. 0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,-.4,0.4,0.4,0.4,0.4,0.4
  2095. -.4,-.4,-.4,-.4,-.4,-.4,-.4,-.4,-.4,0.4,-.4,-.4,-.4,-.4,-.4
  2096. -.4,-.4,-.4,-.4,-.4,-.4,-.4,-.4,-.4,0.4,-.4,-.4,-.4,-.4,-.4
  2097. 0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,-.4,0.4,0.4,0.4,0.4,0.4
  2098. 0,0,0,0,0,0,-.8,0,-.8,0.8,0,-.8,0,0,0
  2099. 0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,-.4,0.4,0.4,0.4,0.4,0.4
  2100. 0,0,0,0,0,0,-.8,0,-.8,0.8,0,-.8,0,0,0
  2101. 0,0,0,0,0,0,0.8,0</text>
  2102.     </content>
  2103.     <name>main</name>
  2104.     <script></script>
  2105. </card>
  2106.  
  2107.  
  2108. card_4884.xml
  2109. <?xml version="1.0" encoding="utf-8" ?>
  2110. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  2111. <card>
  2112.     <id>4884</id>
  2113.     <filler1>0</filler1>
  2114.     <cantDelete> <false /> </cantDelete>
  2115.     <showPict> <true /> </showPict>
  2116.     <dontSearch> <false /> </dontSearch>
  2117.     <owner>2587</owner>
  2118.     <link rel="stylesheet" type="text/css" href="stylesheet_2997.css" />
  2119.     <part>
  2120.         <id>3</id>
  2121.         <type>field</type>
  2122.         <visible> <true /> </visible>
  2123.         <dontWrap> <false /> </dontWrap>
  2124.         <dontSearch> <false /> </dontSearch>
  2125.         <sharedText> <false /> </sharedText>
  2126.         <fixedLineHeight> <true /> </fixedLineHeight>
  2127.         <autoTab> <false /> </autoTab>
  2128.         <lockText> <false /> </lockText>
  2129.         <rect>
  2130.             <left>24</left>
  2131.             <top>145</top>
  2132.             <right>271</right>
  2133.             <bottom>207</bottom>
  2134.         </rect>
  2135.         <style>scrolling</style>
  2136.         <autoSelect> <false /> </autoSelect>
  2137.         <showLines> <false /> </showLines>
  2138.         <wideMargins> <false /> </wideMargins>
  2139.         <multipleLines> <false /> </multipleLines>
  2140.         <reservedFamily> 0 </reservedFamily>
  2141.         <titleWidth>0</titleWidth>
  2142.         <icon>0</icon>
  2143.         <textAlign>left</textAlign>
  2144.         <font>Geneva</font>
  2145.         <textSize>9</textSize>
  2146.         <textStyle>plain</textStyle>
  2147.         <textHeight>12</textHeight>
  2148.         <name></name>
  2149.         <script></script>
  2150.     </part>
  2151.     <part>
  2152.         <id>6</id>
  2153.         <type>field</type>
  2154.         <visible> <true /> </visible>
  2155.         <dontWrap> <false /> </dontWrap>
  2156.         <dontSearch> <false /> </dontSearch>
  2157.         <sharedText> <false /> </sharedText>
  2158.         <fixedLineHeight> <true /> </fixedLineHeight>
  2159.         <autoTab> <true /> </autoTab>
  2160.         <lockText> <false /> </lockText>
  2161.         <rect>
  2162.             <left>25</left>
  2163.             <top>231</top>
  2164.             <right>271</right>
  2165.             <bottom>293</bottom>
  2166.         </rect>
  2167.         <style>scrolling</style>
  2168.         <autoSelect> <false /> </autoSelect>
  2169.         <showLines> <false /> </showLines>
  2170.         <wideMargins> <false /> </wideMargins>
  2171.         <multipleLines> <false /> </multipleLines>
  2172.         <reservedFamily> 0 </reservedFamily>
  2173.         <titleWidth>0</titleWidth>
  2174.         <icon>0</icon>
  2175.         <textAlign>left</textAlign>
  2176.         <font>Geneva</font>
  2177.         <textSize>9</textSize>
  2178.         <textStyle>plain</textStyle>
  2179.         <textHeight>12</textHeight>
  2180.         <name></name>
  2181.         <script></script>
  2182.     </part>
  2183.     <part>
  2184.         <id>9</id>
  2185.         <type>field</type>
  2186.         <visible> <true /> </visible>
  2187.         <dontWrap> <false /> </dontWrap>
  2188.         <dontSearch> <false /> </dontSearch>
  2189.         <sharedText> <false /> </sharedText>
  2190.         <fixedLineHeight> <true /> </fixedLineHeight>
  2191.         <autoTab> <false /> </autoTab>
  2192.         <lockText> <false /> </lockText>
  2193.         <rect>
  2194.             <left>23</left>
  2195.             <top>122</top>
  2196.             <right>159</right>
  2197.             <bottom>144</bottom>
  2198.         </rect>
  2199.         <style>transparent</style>
  2200.         <autoSelect> <false /> </autoSelect>
  2201.         <showLines> <false /> </showLines>
  2202.         <wideMargins> <false /> </wideMargins>
  2203.         <multipleLines> <false /> </multipleLines>
  2204.         <reservedFamily> 0 </reservedFamily>
  2205.         <titleWidth>0</titleWidth>
  2206.         <icon>0</icon>
  2207.         <textAlign>left</textAlign>
  2208.         <font>Geneva</font>
  2209.         <textSize>18</textSize>
  2210.         <textStyle>bold</textStyle>
  2211.         <textHeight>24</textHeight>
  2212.         <name></name>
  2213.         <script></script>
  2214.     </part>
  2215.     <part>
  2216.         <id>10</id>
  2217.         <type>field</type>
  2218.         <visible> <true /> </visible>
  2219.         <dontWrap> <false /> </dontWrap>
  2220.         <dontSearch> <false /> </dontSearch>
  2221.         <sharedText> <false /> </sharedText>
  2222.         <fixedLineHeight> <true /> </fixedLineHeight>
  2223.         <autoTab> <false /> </autoTab>
  2224.         <lockText> <false /> </lockText>
  2225.         <rect>
  2226.             <left>22</left>
  2227.             <top>208</top>
  2228.             <right>147</right>
  2229.             <bottom>231</bottom>
  2230.         </rect>
  2231.         <style>transparent</style>
  2232.         <autoSelect> <false /> </autoSelect>
  2233.         <showLines> <false /> </showLines>
  2234.         <wideMargins> <false /> </wideMargins>
  2235.         <multipleLines> <false /> </multipleLines>
  2236.         <reservedFamily> 0 </reservedFamily>
  2237.         <titleWidth>0</titleWidth>
  2238.         <icon>0</icon>
  2239.         <textAlign>left</textAlign>
  2240.         <font>Geneva</font>
  2241.         <textSize>18</textSize>
  2242.         <textStyle>bold</textStyle>
  2243.         <textHeight>24</textHeight>
  2244.         <name></name>
  2245.         <script></script>
  2246.     </part>
  2247.     <part>
  2248.         <id>11</id>
  2249.         <type>button</type>
  2250.         <visible> <true /> </visible>
  2251.         <reserved5> 0 </reserved5>
  2252.         <reserved4> 0 </reserved4>
  2253.         <reserved3> 0 </reserved3>
  2254.         <reserved2> 0 </reserved2>
  2255.         <reserved1> 0 </reserved1>
  2256.         <enabled> <true /> </enabled>
  2257.         <rect>
  2258.             <left>325</left>
  2259.             <top>187</top>
  2260.             <right>390</right>
  2261.             <bottom>213</bottom>
  2262.         </rect>
  2263.         <style>rectangle</style>
  2264.         <showName> <true /> </showName>
  2265.         <highlight> <false /> </highlight>
  2266.         <autoHighlight> <true /> </autoHighlight>
  2267.         <sharedHighlight> <true /> </sharedHighlight>
  2268.         <family>0</family>
  2269.         <titleWidth>0</titleWidth>
  2270.         <icon>0</icon>
  2271.         <textAlign>center</textAlign>
  2272.         <font>Chicago</font>
  2273.         <textSize>12</textSize>
  2274.         <textStyle>plain</textStyle>
  2275.         <name>LEARN</name>
  2276.         <script>on mouseUp
  2277.  
  2278. if line 1 of card field maxins_f = empty then
  2279. ask "enter the total number of patterns first!!"
  2280. put it into line 1 of card field maxins_f
  2281. end if
  2282.  
  2283. if line 1 of card field veclength = empty then
  2284. ask "enter the pattern length first!!"
  2285. put it into line 1 of card field veclength
  2286. end if
  2287.  
  2288. --if line 1 of card field id 3 = empty then
  2289. --   ask "enter the input patterns first!!" with "ok"
  2290. --  send mouseup to card button id 24
  2291.  
  2292. -- end if
  2293.  
  2294.  
  2295. put line 1 of card field maxins_f into it
  2296.  
  2297. put it into maxpat
  2298. put it into mr
  2299.  
  2300. put line 1 of card field veclength into mc
  2301.  
  2302. put empty into card field ins of card main
  2303. put empty into card field targs of card main
  2304.  
  2305.  
  2306. repeat with row = 1 to mr
  2307. repeat with col = 1 to mc
  2308. put item col of line row of card field id 3 into¬¨
  2309. item col of line row of card field ins of card main
  2310. end repeat
  2311. end repeat
  2312.  
  2313. repeat with row = 1 to mr
  2314. repeat with col = 1 to mc
  2315. put item col of line row of card field id 6 into¬¨
  2316. item col of line row of card field targs of card main
  2317. end repeat
  2318. end repeat
  2319.  
  2320.  
  2321.  
  2322. put maxpat into line 1 of card field maxins of card main
  2323. go to card main
  2324.  
  2325. send mouseUp to card button learn of card main
  2326. end mouseUp</script>
  2327.     </part>
  2328.     <part>
  2329.         <id>12</id>
  2330.         <type>button</type>
  2331.         <visible> <true /> </visible>
  2332.         <reserved5> 0 </reserved5>
  2333.         <reserved4> 0 </reserved4>
  2334.         <reserved3> 0 </reserved3>
  2335.         <reserved2> 0 </reserved2>
  2336.         <reserved1> 0 </reserved1>
  2337.         <enabled> <true /> </enabled>
  2338.         <rect>
  2339.             <left>389</left>
  2340.             <top>187</top>
  2341.             <right>456</right>
  2342.             <bottom>213</bottom>
  2343.         </rect>
  2344.         <style>rectangle</style>
  2345.         <showName> <true /> </showName>
  2346.         <highlight> <false /> </highlight>
  2347.         <autoHighlight> <true /> </autoHighlight>
  2348.         <sharedHighlight> <true /> </sharedHighlight>
  2349.         <family>0</family>
  2350.         <titleWidth>0</titleWidth>
  2351.         <icon>0</icon>
  2352.         <textAlign>center</textAlign>
  2353.         <font>Chicago</font>
  2354.         <textSize>12</textSize>
  2355.         <textStyle>plain</textStyle>
  2356.         <name>TEST</name>
  2357.         <script>on mouseUp
  2358.  
  2359. put line 1 of card field maxins_f into mr
  2360. put mr into maxpats
  2361. put line 1 of card field veclength into mc
  2362.  
  2363.  
  2364. show card field id 15
  2365. show card field id 14
  2366.  
  2367.  
  2368. repeat with n = 1 to mc
  2369.  
  2370. put item n of line 1 of card field id 14 into temp
  2371. if temp = empty then
  2372. put -1 into temp
  2373. end if
  2374. put temp into item n of line 1 of card field input of card main
  2375. end repeat
  2376.  
  2377.  
  2378. go to card main
  2379.  
  2380. put "Calculating output..." into card field info
  2381.  
  2382. -- INIT
  2383.  
  2384. hide card field tgets
  2385. hide card field id 83
  2386. show card field block
  2387.  
  2388. -- show card field ins
  2389. -- show card field targs
  2390. -- show card field id 86
  2391. -- show card field id 87
  2392.  
  2393. put 0 into done
  2394. put 1 into card field cycle
  2395.  
  2396. repeat with row = 1 to mc
  2397. put 0 into line row of card field totals
  2398. end repeat
  2399.  
  2400. repeat with row = 1 to mc
  2401. put 0 into line row of card field finished
  2402. end repeat
  2403.  
  2404.  
  2405.  
  2406. repeat with row = 1 to mc
  2407. put empty  into card field output
  2408. end repeat
  2409.  
  2410.  
  2411. --repeat with row = 1 to mc
  2412. --  repeat with col = 1 to mc
  2413. put empty  into card field tempres
  2414. --  end repeat
  2415. --item col of line row of
  2416. --end repeat
  2417.  
  2418.  
  2419.  
  2420. put 1 into n
  2421. repeat with col = 1 to mc
  2422. put item col of line 2 of card field targs into¬¨
  2423. item 1 of line n of card field tgets
  2424. put n+1 into n
  2425. end repeat
  2426. --******** END INITS **********
  2427.  
  2428.  
  2429.  
  2430. repeat with row = 1 to mc
  2431. repeat with col = 1 to mc
  2432.  
  2433. put item col of line row of card field wts into w
  2434. put item col of line 1 of card field input into i
  2435. put w * i into r
  2436. put r into item col of line row of card field tempres
  2437. --wait 20 ticks
  2438.  
  2439. end repeat
  2440.  
  2441. end repeat
  2442.  
  2443.  
  2444. --add up ie. net input
  2445.  
  2446. repeat with row = 1 to mc
  2447. put 0 into tot
  2448. repeat with col = 1 to mc
  2449. put item col of line row of card field tempres into r1
  2450. put r1 + tot into tot
  2451. end repeat
  2452.  
  2453. put tot into line row of card field totals
  2454. put tot into line row of card field output
  2455.  
  2456. end repeat
  2457.  
  2458. show card field id 106
  2459. wait 10 secs
  2460. hide card field id 106
  2461.  
  2462. repeat with i = 1 to 5
  2463. hide card button id 99
  2464. wait 10 ticks
  2465. show card button id 99
  2466. wait 10 ticks
  2467. end repeat
  2468.  
  2469. end mouseUp</script>
  2470.     </part>
  2471.     <part>
  2472.         <id>14</id>
  2473.         <type>field</type>
  2474.         <visible> <true /> </visible>
  2475.         <dontWrap> <false /> </dontWrap>
  2476.         <dontSearch> <false /> </dontSearch>
  2477.         <sharedText> <false /> </sharedText>
  2478.         <fixedLineHeight> <true /> </fixedLineHeight>
  2479.         <autoTab> <false /> </autoTab>
  2480.         <lockText> <false /> </lockText>
  2481.         <rect>
  2482.             <left>251</left>
  2483.             <top>115</top>
  2484.             <right>489</right>
  2485.             <bottom>135</bottom>
  2486.         </rect>
  2487.         <style>rectangle</style>
  2488.         <autoSelect> <false /> </autoSelect>
  2489.         <showLines> <false /> </showLines>
  2490.         <wideMargins> <true /> </wideMargins>
  2491.         <multipleLines> <false /> </multipleLines>
  2492.         <reservedFamily> 0 </reservedFamily>
  2493.         <titleWidth>0</titleWidth>
  2494.         <icon>0</icon>
  2495.         <textAlign>left</textAlign>
  2496.         <font>Geneva</font>
  2497.         <textSize>9</textSize>
  2498.         <textStyle>plain</textStyle>
  2499.         <textHeight>12</textHeight>
  2500.         <name></name>
  2501.         <script></script>
  2502.     </part>
  2503.     <part>
  2504.         <id>15</id>
  2505.         <type>field</type>
  2506.         <visible> <true /> </visible>
  2507.         <dontWrap> <false /> </dontWrap>
  2508.         <dontSearch> <false /> </dontSearch>
  2509.         <sharedText> <false /> </sharedText>
  2510.         <fixedLineHeight> <true /> </fixedLineHeight>
  2511.         <autoTab> <false /> </autoTab>
  2512.         <lockText> <true /> </lockText>
  2513.         <rect>
  2514.             <left>285</left>
  2515.             <top>96</top>
  2516.             <right>426</right>
  2517.             <bottom>113</bottom>
  2518.         </rect>
  2519.         <style>transparent</style>
  2520.         <autoSelect> <false /> </autoSelect>
  2521.         <showLines> <false /> </showLines>
  2522.         <wideMargins> <false /> </wideMargins>
  2523.         <multipleLines> <false /> </multipleLines>
  2524.         <reservedFamily> 0 </reservedFamily>
  2525.         <titleWidth>0</titleWidth>
  2526.         <icon>0</icon>
  2527.         <textAlign>left</textAlign>
  2528.         <font>Geneva</font>
  2529.         <textSize>12</textSize>
  2530.         <textStyle>bold</textStyle>
  2531.         <textHeight>16</textHeight>
  2532.         <name></name>
  2533.         <script></script>
  2534.     </part>
  2535.     <part>
  2536.         <id>16</id>
  2537.         <type>button</type>
  2538.         <visible> <true /> </visible>
  2539.         <reserved5> 0 </reserved5>
  2540.         <reserved4> 0 </reserved4>
  2541.         <reserved3> 0 </reserved3>
  2542.         <reserved2> 0 </reserved2>
  2543.         <reserved1> 0 </reserved1>
  2544.         <enabled> <true /> </enabled>
  2545.         <rect>
  2546.             <left>421</left>
  2547.             <top>298</top>
  2548.             <right>485</right>
  2549.             <bottom>320</bottom>
  2550.         </rect>
  2551.         <style>rectangle</style>
  2552.         <showName> <true /> </showName>
  2553.         <highlight> <false /> </highlight>
  2554.         <autoHighlight> <true /> </autoHighlight>
  2555.         <sharedHighlight> <true /> </sharedHighlight>
  2556.         <family>0</family>
  2557.         <titleWidth>0</titleWidth>
  2558.         <icon>0</icon>
  2559.         <textAlign>center</textAlign>
  2560.         <font>Chicago</font>
  2561.         <textSize>12</textSize>
  2562.         <textStyle>plain</textStyle>
  2563.         <name>matrix</name>
  2564.         <script>on mouseUp
  2565. go to card main
  2566. end mouseUp
  2567. </script>
  2568.     </part>
  2569.     <part>
  2570.         <id>17</id>
  2571.         <type>field</type>
  2572.         <visible> <true /> </visible>
  2573.         <dontWrap> <false /> </dontWrap>
  2574.         <dontSearch> <false /> </dontSearch>
  2575.         <sharedText> <false /> </sharedText>
  2576.         <fixedLineHeight> <true /> </fixedLineHeight>
  2577.         <autoTab> <false /> </autoTab>
  2578.         <lockText> <false /> </lockText>
  2579.         <rect>
  2580.             <left>133</left>
  2581.             <top>58</top>
  2582.             <right>170</right>
  2583.             <bottom>75</bottom>
  2584.         </rect>
  2585.         <style>rectangle</style>
  2586.         <autoSelect> <false /> </autoSelect>
  2587.         <showLines> <false /> </showLines>
  2588.         <wideMargins> <false /> </wideMargins>
  2589.         <multipleLines> <false /> </multipleLines>
  2590.         <reservedFamily> 0 </reservedFamily>
  2591.         <titleWidth>0</titleWidth>
  2592.         <icon>0</icon>
  2593.         <textAlign>left</textAlign>
  2594.         <font>New York</font>
  2595.         <textSize>12</textSize>
  2596.         <textStyle>bold</textStyle>
  2597.         <textHeight>16</textHeight>
  2598.         <name>maxins_f</name>
  2599.         <script></script>
  2600.     </part>
  2601.     <part>
  2602.         <id>19</id>
  2603.         <type>field</type>
  2604.         <visible> <true /> </visible>
  2605.         <dontWrap> <false /> </dontWrap>
  2606.         <dontSearch> <false /> </dontSearch>
  2607.         <sharedText> <false /> </sharedText>
  2608.         <fixedLineHeight> <true /> </fixedLineHeight>
  2609.         <autoTab> <false /> </autoTab>
  2610.         <lockText> <true /> </lockText>
  2611.         <rect>
  2612.             <left>57</left>
  2613.             <top>42</top>
  2614.             <right>132</right>
  2615.             <bottom>76</bottom>
  2616.         </rect>
  2617.         <style>transparent</style>
  2618.         <autoSelect> <false /> </autoSelect>
  2619.         <showLines> <false /> </showLines>
  2620.         <wideMargins> <false /> </wideMargins>
  2621.         <multipleLines> <false /> </multipleLines>
  2622.         <reservedFamily> 0 </reservedFamily>
  2623.         <titleWidth>0</titleWidth>
  2624.         <icon>0</icon>
  2625.         <textAlign>left</textAlign>
  2626.         <font>Geneva</font>
  2627.         <textSize>12</textSize>
  2628.         <textStyle>bold</textStyle>
  2629.         <textHeight>16</textHeight>
  2630.         <name></name>
  2631.         <script></script>
  2632.     </part>
  2633.     <part>
  2634.         <id>20</id>
  2635.         <type>field</type>
  2636.         <visible> <true /> </visible>
  2637.         <dontWrap> <false /> </dontWrap>
  2638.         <dontSearch> <false /> </dontSearch>
  2639.         <sharedText> <false /> </sharedText>
  2640.         <fixedLineHeight> <true /> </fixedLineHeight>
  2641.         <autoTab> <false /> </autoTab>
  2642.         <lockText> <false /> </lockText>
  2643.         <rect>
  2644.             <left>255</left>
  2645.             <top>58</top>
  2646.             <right>292</right>
  2647.             <bottom>75</bottom>
  2648.         </rect>
  2649.         <style>rectangle</style>
  2650.         <autoSelect> <false /> </autoSelect>
  2651.         <showLines> <false /> </showLines>
  2652.         <wideMargins> <false /> </wideMargins>
  2653.         <multipleLines> <false /> </multipleLines>
  2654.         <reservedFamily> 0 </reservedFamily>
  2655.         <titleWidth>0</titleWidth>
  2656.         <icon>0</icon>
  2657.         <textAlign>left</textAlign>
  2658.         <font>New York</font>
  2659.         <textSize>12</textSize>
  2660.         <textStyle>bold</textStyle>
  2661.         <textHeight>16</textHeight>
  2662.         <name>veclength</name>
  2663.         <script></script>
  2664.     </part>
  2665.     <part>
  2666.         <id>21</id>
  2667.         <type>field</type>
  2668.         <visible> <true /> </visible>
  2669.         <dontWrap> <false /> </dontWrap>
  2670.         <dontSearch> <false /> </dontSearch>
  2671.         <sharedText> <false /> </sharedText>
  2672.         <fixedLineHeight> <true /> </fixedLineHeight>
  2673.         <autoTab> <false /> </autoTab>
  2674.         <lockText> <false /> </lockText>
  2675.         <rect>
  2676.             <left>192</left>
  2677.             <top>42</top>
  2678.             <right>254</right>
  2679.             <bottom>76</bottom>
  2680.         </rect>
  2681.         <style>transparent</style>
  2682.         <autoSelect> <false /> </autoSelect>
  2683.         <showLines> <false /> </showLines>
  2684.         <wideMargins> <false /> </wideMargins>
  2685.         <multipleLines> <false /> </multipleLines>
  2686.         <reservedFamily> 0 </reservedFamily>
  2687.         <titleWidth>0</titleWidth>
  2688.         <icon>0</icon>
  2689.         <textAlign>left</textAlign>
  2690.         <font>Geneva</font>
  2691.         <textSize>12</textSize>
  2692.         <textStyle>bold</textStyle>
  2693.         <textHeight>16</textHeight>
  2694.         <name>vector length? - </name>
  2695.         <script></script>
  2696.     </part>
  2697.     <part>
  2698.         <id>24</id>
  2699.         <type>button</type>
  2700.         <visible> <true /> </visible>
  2701.         <reserved5> 0 </reserved5>
  2702.         <reserved4> 0 </reserved4>
  2703.         <reserved3> 0 </reserved3>
  2704.         <reserved2> 0 </reserved2>
  2705.         <reserved1> 0 </reserved1>
  2706.         <enabled> <true /> </enabled>
  2707.         <rect>
  2708.             <left>342</left>
  2709.             <top>212</top>
  2710.             <right>447</right>
  2711.             <bottom>236</bottom>
  2712.         </rect>
  2713.         <style>rectangle</style>
  2714.         <showName> <true /> </showName>
  2715.         <highlight> <false /> </highlight>
  2716.         <autoHighlight> <true /> </autoHighlight>
  2717.         <sharedHighlight> <true /> </sharedHighlight>
  2718.         <family>0</family>
  2719.         <titleWidth>0</titleWidth>
  2720.         <icon>0</icon>
  2721.         <textAlign>center</textAlign>
  2722.         <font>Chicago</font>
  2723.         <textSize>12</textSize>
  2724.         <textStyle>plain</textStyle>
  2725.         <name>ENTER NUMBERS</name>
  2726.         <script>on mouseUp
  2727.  
  2728.  
  2729.  
  2730. go to card numbers
  2731.  
  2732.  
  2733.  
  2734.  
  2735. hide card field id 27
  2736. show card button id 17
  2737. show card button learn
  2738.  
  2739. put 1 into card field tot
  2740.  
  2741. answer "Do you need to see how to enter digits?" with "yes" or "no"
  2742. --put it into card field ans
  2743. if it = "yes" then
  2744. visual dissolve
  2745. go to stack num1
  2746.  
  2747. else
  2748.  
  2749.  
  2750.  
  2751. put "Enter number patterns" into line 1 of card field infor
  2752.  
  2753. repeat with i = 1 to 5
  2754. show card field infor
  2755. wait 20 ticks
  2756. hide card field infor
  2757. wait 20 ticks
  2758. end repeat
  2759.  
  2760.  
  2761.  
  2762. repeat with f = 1 to 15
  2763. put empty into card field f
  2764. end repeat
  2765.  
  2766. --put empty into  card field id 3 of card testcard
  2767. --put empty into  card field id 6 of card testcard
  2768.  
  2769.  
  2770. end if
  2771.  
  2772. end mouseUp
  2773. </script>
  2774.     </part>
  2775.     <part>
  2776.         <id>22</id>
  2777.         <type>button</type>
  2778.         <visible> <true /> </visible>
  2779.         <reserved5> 0 </reserved5>
  2780.         <reserved4> 0 </reserved4>
  2781.         <reserved3> 0 </reserved3>
  2782.         <reserved2> 0 </reserved2>
  2783.         <reserved1> 0 </reserved1>
  2784.         <enabled> <true /> </enabled>
  2785.         <rect>
  2786.             <left>360</left>
  2787.             <top>164</top>
  2788.             <right>423</right>
  2789.             <bottom>188</bottom>
  2790.         </rect>
  2791.         <style>rectangle</style>
  2792.         <showName> <true /> </showName>
  2793.         <highlight> <false /> </highlight>
  2794.         <autoHighlight> <true /> </autoHighlight>
  2795.         <sharedHighlight> <true /> </sharedHighlight>
  2796.         <family>0</family>
  2797.         <titleWidth>0</titleWidth>
  2798.         <icon>0</icon>
  2799.         <textAlign>center</textAlign>
  2800.         <font>Chicago</font>
  2801.         <textSize>12</textSize>
  2802.         <textStyle>plain</textStyle>
  2803.         <name>SETUP</name>
  2804.         <script>on mouseUp
  2805. ask "enter total number of patterns to learn:"
  2806. put it into card field maxins_f
  2807. ask "enter pattern length (numbers length = 15):"
  2808. put it into card field veclength
  2809.  
  2810. ask "enter learning rate (e.g. .4)"
  2811. put it into card field rho
  2812.  
  2813. put empty into card field id 3
  2814. put empty into card field id 6
  2815.  
  2816. wait 1 secs
  2817.  
  2818. repeat with i = 1 to 5
  2819. hide card button id 24
  2820. wait 20 ticks
  2821. show card button id 24
  2822. wait 20 ticks
  2823. end repeat
  2824.  
  2825. end mouseUp
  2826. </script>
  2827.     </part>
  2828.     <part>
  2829.         <id>28</id>
  2830.         <type>button</type>
  2831.         <visible> <true /> </visible>
  2832.         <reserved5> 0 </reserved5>
  2833.         <reserved4> 0 </reserved4>
  2834.         <reserved3> 0 </reserved3>
  2835.         <reserved2> 0 </reserved2>
  2836.         <reserved1> 0 </reserved1>
  2837.         <enabled> <true /> </enabled>
  2838.         <rect>
  2839.             <left>421</left>
  2840.             <top>269</top>
  2841.             <right>485</right>
  2842.             <bottom>292</bottom>
  2843.         </rect>
  2844.         <style>rectangle</style>
  2845.         <showName> <true /> </showName>
  2846.         <highlight> <false /> </highlight>
  2847.         <autoHighlight> <true /> </autoHighlight>
  2848.         <sharedHighlight> <true /> </sharedHighlight>
  2849.         <family>0</family>
  2850.         <titleWidth>0</titleWidth>
  2851.         <icon>0</icon>
  2852.         <textAlign>center</textAlign>
  2853.         <font>Chicago</font>
  2854.         <textSize>12</textSize>
  2855.         <textStyle>plain</textStyle>
  2856.         <name>numbers</name>
  2857.         <script>on mouseUp
  2858. go to card numbers
  2859. end mouseUp
  2860. </script>
  2861.     </part>
  2862.     <part>
  2863.         <id>32</id>
  2864.         <type>field</type>
  2865.         <visible> <true /> </visible>
  2866.         <dontWrap> <false /> </dontWrap>
  2867.         <dontSearch> <false /> </dontSearch>
  2868.         <sharedText> <false /> </sharedText>
  2869.         <fixedLineHeight> <true /> </fixedLineHeight>
  2870.         <autoTab> <false /> </autoTab>
  2871.         <lockText> <false /> </lockText>
  2872.         <rect>
  2873.             <left>309</left>
  2874.             <top>42</top>
  2875.             <right>393</right>
  2876.             <bottom>76</bottom>
  2877.         </rect>
  2878.         <style>transparent</style>
  2879.         <autoSelect> <false /> </autoSelect>
  2880.         <showLines> <false /> </showLines>
  2881.         <wideMargins> <false /> </wideMargins>
  2882.         <multipleLines> <false /> </multipleLines>
  2883.         <reservedFamily> 0 </reservedFamily>
  2884.         <titleWidth>0</titleWidth>
  2885.         <icon>0</icon>
  2886.         <textAlign>left</textAlign>
  2887.         <font>Geneva</font>
  2888.         <textSize>12</textSize>
  2889.         <textStyle>bold</textStyle>
  2890.         <textHeight>16</textHeight>
  2891.         <name>vector length? - </name>
  2892.         <script></script>
  2893.     </part>
  2894.     <part>
  2895.         <id>29</id>
  2896.         <type>field</type>
  2897.         <visible> <true /> </visible>
  2898.         <dontWrap> <false /> </dontWrap>
  2899.         <dontSearch> <false /> </dontSearch>
  2900.         <sharedText> <false /> </sharedText>
  2901.         <fixedLineHeight> <true /> </fixedLineHeight>
  2902.         <autoTab> <false /> </autoTab>
  2903.         <lockText> <false /> </lockText>
  2904.         <rect>
  2905.             <left>434</left>
  2906.             <top>33</top>
  2907.             <right>485</right>
  2908.             <bottom>52</bottom>
  2909.         </rect>
  2910.         <style>transparent</style>
  2911.         <autoSelect> <false /> </autoSelect>
  2912.         <showLines> <false /> </showLines>
  2913.         <wideMargins> <false /> </wideMargins>
  2914.         <multipleLines> <false /> </multipleLines>
  2915.         <reservedFamily> 0 </reservedFamily>
  2916.         <titleWidth>0</titleWidth>
  2917.         <icon>0</icon>
  2918.         <textAlign>left</textAlign>
  2919.         <font>Times</font>
  2920.         <textSize>12</textSize>
  2921.         <textStyle>bold</textStyle>
  2922.         <textHeight>16</textHeight>
  2923.         <name></name>
  2924.         <script></script>
  2925.     </part>
  2926.     <part>
  2927.         <id>31</id>
  2928.         <type>field</type>
  2929.         <visible> <true /> </visible>
  2930.         <dontWrap> <false /> </dontWrap>
  2931.         <dontSearch> <false /> </dontSearch>
  2932.         <sharedText> <false /> </sharedText>
  2933.         <fixedLineHeight> <true /> </fixedLineHeight>
  2934.         <autoTab> <false /> </autoTab>
  2935.         <lockText> <false /> </lockText>
  2936.         <rect>
  2937.             <left>355</left>
  2938.             <top>59</top>
  2939.             <right>394</right>
  2940.             <bottom>76</bottom>
  2941.         </rect>
  2942.         <style>rectangle</style>
  2943.         <autoSelect> <false /> </autoSelect>
  2944.         <showLines> <false /> </showLines>
  2945.         <wideMargins> <false /> </wideMargins>
  2946.         <multipleLines> <false /> </multipleLines>
  2947.         <reservedFamily> 0 </reservedFamily>
  2948.         <titleWidth>0</titleWidth>
  2949.         <icon>0</icon>
  2950.         <textAlign>left</textAlign>
  2951.         <font>New York</font>
  2952.         <textSize>12</textSize>
  2953.         <textStyle>bold</textStyle>
  2954.         <textHeight>16</textHeight>
  2955.         <name>rho</name>
  2956.         <script></script>
  2957.     </part>
  2958.     <content>
  2959.         <layer>card</layer>
  2960.         <id>9</id>
  2961.         <text>INPUTS
  2962. 1,1111</text>
  2963.     </content>
  2964.     <content>
  2965.         <layer>card</layer>
  2966.         <id>10</id>
  2967.         <text>TARGETS</text>
  2968.     </content>
  2969.     <content>
  2970.         <layer>card</layer>
  2971.         <id>15</id>
  2972.         <text>ENTER TEST INPUT:</text>
  2973.     </content>
  2974.     <content>
  2975.         <layer>card</layer>
  2976.         <id>19</id>
  2977.         <text>Total Patterns:</text>
  2978.     </content>
  2979.     <content>
  2980.         <layer>card</layer>
  2981.         <id>21</id>
  2982.         <text>Pattern length:
  2983. </text>
  2984.     </content>
  2985.     <content>
  2986.         <layer>card</layer>
  2987.         <id>29</id>
  2988.         <text>SETUP</text>
  2989.     </content>
  2990.     <content>
  2991.         <layer>card</layer>
  2992.         <id>32</id>
  2993.         <text>Learning       
  2994. Rate:</text>
  2995.     </content>
  2996.     <content>
  2997.         <layer>card</layer>
  2998.         <id>17</id>
  2999.         <text>2</text>
  3000.     </content>
  3001.     <content>
  3002.         <layer>card</layer>
  3003.         <id>20</id>
  3004.         <text>15</text>
  3005.     </content>
  3006.     <content>
  3007.         <layer>card</layer>
  3008.         <id>31</id>
  3009.         <text>.4</text>
  3010.     </content>
  3011.     <content>
  3012.         <layer>card</layer>
  3013.         <id>3</id>
  3014.         <text>1,1,1,-1,-1,1,-1,1,-1,1,-1,-1,1,1,1
  3015. 1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,1,1</text>
  3016.     </content>
  3017.     <content>
  3018.         <layer>card</layer>
  3019.         <id>6</id>
  3020.         <text>1,1,1,-1,-1,1,-1,1,-1,1,-1,-1,1,1,1
  3021. 1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,1,1</text>
  3022.     </content>
  3023.     <content>
  3024.         <layer>card</layer>
  3025.         <id>14</id>
  3026.         <text>1,1,1,-1,-1,1,-1,1,-1,-1,-1,-1,1,1,1</text>
  3027.     </content>
  3028.     <name>testcard</name>
  3029.     <script></script>
  3030. </card>
  3031.  
  3032.  
  3033. card_5908.xml
  3034. <?xml version="1.0" encoding="utf-8" ?>
  3035. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  3036. <card>
  3037.     <id>5908</id>
  3038.     <filler1>0</filler1>
  3039.     <cantDelete> <false /> </cantDelete>
  3040.     <showPict> <true /> </showPict>
  3041.     <dontSearch> <false /> </dontSearch>
  3042.     <owner>2587</owner>
  3043.     <link rel="stylesheet" type="text/css" href="stylesheet_2997.css" />
  3044.     <part>
  3045.         <id>2</id>
  3046.         <type>field</type>
  3047.         <visible> <true /> </visible>
  3048.         <dontWrap> <false /> </dontWrap>
  3049.         <dontSearch> <false /> </dontSearch>
  3050.         <sharedText> <false /> </sharedText>
  3051.         <fixedLineHeight> <true /> </fixedLineHeight>
  3052.         <autoTab> <false /> </autoTab>
  3053.         <lockText> <false /> </lockText>
  3054.         <rect>
  3055.             <left>143</left>
  3056.             <top>113</top>
  3057.             <right>171</right>
  3058.             <bottom>138</bottom>
  3059.         </rect>
  3060.         <style>rectangle</style>
  3061.         <autoSelect> <false /> </autoSelect>
  3062.         <showLines> <false /> </showLines>
  3063.         <wideMargins> <false /> </wideMargins>
  3064.         <multipleLines> <false /> </multipleLines>
  3065.         <reservedFamily> 0 </reservedFamily>
  3066.         <titleWidth>0</titleWidth>
  3067.         <icon>0</icon>
  3068.         <textAlign>left</textAlign>
  3069.         <font>Geneva</font>
  3070.         <textSize>24</textSize>
  3071.         <textStyle>bold</textStyle>
  3072.         <textHeight>32</textHeight>
  3073.         <name></name>
  3074.         <script></script>
  3075.     </part>
  3076.     <part>
  3077.         <id>3</id>
  3078.         <type>field</type>
  3079.         <visible> <true /> </visible>
  3080.         <dontWrap> <false /> </dontWrap>
  3081.         <dontSearch> <false /> </dontSearch>
  3082.         <sharedText> <false /> </sharedText>
  3083.         <fixedLineHeight> <true /> </fixedLineHeight>
  3084.         <autoTab> <false /> </autoTab>
  3085.         <lockText> <false /> </lockText>
  3086.         <rect>
  3087.             <left>170</left>
  3088.             <top>113</top>
  3089.             <right>198</right>
  3090.             <bottom>138</bottom>
  3091.         </rect>
  3092.         <style>rectangle</style>
  3093.         <autoSelect> <false /> </autoSelect>
  3094.         <showLines> <false /> </showLines>
  3095.         <wideMargins> <false /> </wideMargins>
  3096.         <multipleLines> <false /> </multipleLines>
  3097.         <reservedFamily> 0 </reservedFamily>
  3098.         <titleWidth>0</titleWidth>
  3099.         <icon>0</icon>
  3100.         <textAlign>left</textAlign>
  3101.         <font>Geneva</font>
  3102.         <textSize>24</textSize>
  3103.         <textStyle>bold</textStyle>
  3104.         <textHeight>32</textHeight>
  3105.         <name></name>
  3106.         <script></script>
  3107.     </part>
  3108.     <part>
  3109.         <id>4</id>
  3110.         <type>field</type>
  3111.         <visible> <true /> </visible>
  3112.         <dontWrap> <false /> </dontWrap>
  3113.         <dontSearch> <false /> </dontSearch>
  3114.         <sharedText> <false /> </sharedText>
  3115.         <fixedLineHeight> <true /> </fixedLineHeight>
  3116.         <autoTab> <false /> </autoTab>
  3117.         <lockText> <false /> </lockText>
  3118.         <rect>
  3119.             <left>197</left>
  3120.             <top>113</top>
  3121.             <right>225</right>
  3122.             <bottom>139</bottom>
  3123.         </rect>
  3124.         <style>rectangle</style>
  3125.         <autoSelect> <false /> </autoSelect>
  3126.         <showLines> <false /> </showLines>
  3127.         <wideMargins> <false /> </wideMargins>
  3128.         <multipleLines> <false /> </multipleLines>
  3129.         <reservedFamily> 0 </reservedFamily>
  3130.         <titleWidth>0</titleWidth>
  3131.         <icon>0</icon>
  3132.         <textAlign>left</textAlign>
  3133.         <font>Geneva</font>
  3134.         <textSize>24</textSize>
  3135.         <textStyle>bold</textStyle>
  3136.         <textHeight>32</textHeight>
  3137.         <name></name>
  3138.         <script></script>
  3139.     </part>
  3140.     <part>
  3141.         <id>5</id>
  3142.         <type>field</type>
  3143.         <visible> <true /> </visible>
  3144.         <dontWrap> <false /> </dontWrap>
  3145.         <dontSearch> <false /> </dontSearch>
  3146.         <sharedText> <false /> </sharedText>
  3147.         <fixedLineHeight> <true /> </fixedLineHeight>
  3148.         <autoTab> <false /> </autoTab>
  3149.         <lockText> <false /> </lockText>
  3150.         <rect>
  3151.             <left>143</left>
  3152.             <top>137</top>
  3153.             <right>175</right>
  3154.             <bottom>165</bottom>
  3155.         </rect>
  3156.         <style>rectangle</style>
  3157.         <autoSelect> <false /> </autoSelect>
  3158.         <showLines> <false /> </showLines>
  3159.         <wideMargins> <false /> </wideMargins>
  3160.         <multipleLines> <false /> </multipleLines>
  3161.         <reservedFamily> 0 </reservedFamily>
  3162.         <titleWidth>0</titleWidth>
  3163.         <icon>0</icon>
  3164.         <textAlign>left</textAlign>
  3165.         <font>Geneva</font>
  3166.         <textSize>24</textSize>
  3167.         <textStyle>bold</textStyle>
  3168.         <textHeight>32</textHeight>
  3169.         <name></name>
  3170.         <script></script>
  3171.     </part>
  3172.     <part>
  3173.         <id>6</id>
  3174.         <type>field</type>
  3175.         <visible> <true /> </visible>
  3176.         <dontWrap> <false /> </dontWrap>
  3177.         <dontSearch> <false /> </dontSearch>
  3178.         <sharedText> <false /> </sharedText>
  3179.         <fixedLineHeight> <true /> </fixedLineHeight>
  3180.         <autoTab> <false /> </autoTab>
  3181.         <lockText> <false /> </lockText>
  3182.         <rect>
  3183.             <left>170</left>
  3184.             <top>137</top>
  3185.             <right>198</right>
  3186.             <bottom>164</bottom>
  3187.         </rect>
  3188.         <style>rectangle</style>
  3189.         <autoSelect> <false /> </autoSelect>
  3190.         <showLines> <false /> </showLines>
  3191.         <wideMargins> <false /> </wideMargins>
  3192.         <multipleLines> <false /> </multipleLines>
  3193.         <reservedFamily> 0 </reservedFamily>
  3194.         <titleWidth>0</titleWidth>
  3195.         <icon>0</icon>
  3196.         <textAlign>left</textAlign>
  3197.         <font>Geneva</font>
  3198.         <textSize>24</textSize>
  3199.         <textStyle>bold</textStyle>
  3200.         <textHeight>32</textHeight>
  3201.         <name></name>
  3202.         <script></script>
  3203.     </part>
  3204.     <part>
  3205.         <id>7</id>
  3206.         <type>field</type>
  3207.         <visible> <true /> </visible>
  3208.         <dontWrap> <false /> </dontWrap>
  3209.         <dontSearch> <false /> </dontSearch>
  3210.         <sharedText> <false /> </sharedText>
  3211.         <fixedLineHeight> <true /> </fixedLineHeight>
  3212.         <autoTab> <false /> </autoTab>
  3213.         <lockText> <false /> </lockText>
  3214.         <rect>
  3215.             <left>197</left>
  3216.             <top>137</top>
  3217.             <right>225</right>
  3218.             <bottom>163</bottom>
  3219.         </rect>
  3220.         <style>rectangle</style>
  3221.         <autoSelect> <false /> </autoSelect>
  3222.         <showLines> <false /> </showLines>
  3223.         <wideMargins> <false /> </wideMargins>
  3224.         <multipleLines> <false /> </multipleLines>
  3225.         <reservedFamily> 0 </reservedFamily>
  3226.         <titleWidth>0</titleWidth>
  3227.         <icon>0</icon>
  3228.         <textAlign>left</textAlign>
  3229.         <font>Geneva</font>
  3230.         <textSize>24</textSize>
  3231.         <textStyle>bold</textStyle>
  3232.         <textHeight>32</textHeight>
  3233.         <name></name>
  3234.         <script></script>
  3235.     </part>
  3236.     <part>
  3237.         <id>8</id>
  3238.         <type>field</type>
  3239.         <visible> <true /> </visible>
  3240.         <dontWrap> <false /> </dontWrap>
  3241.         <dontSearch> <false /> </dontSearch>
  3242.         <sharedText> <false /> </sharedText>
  3243.         <fixedLineHeight> <true /> </fixedLineHeight>
  3244.         <autoTab> <false /> </autoTab>
  3245.         <lockText> <false /> </lockText>
  3246.         <rect>
  3247.             <left>143</left>
  3248.             <top>162</top>
  3249.             <right>171</right>
  3250.             <bottom>190</bottom>
  3251.         </rect>
  3252.         <style>rectangle</style>
  3253.         <autoSelect> <false /> </autoSelect>
  3254.         <showLines> <false /> </showLines>
  3255.         <wideMargins> <false /> </wideMargins>
  3256.         <multipleLines> <false /> </multipleLines>
  3257.         <reservedFamily> 0 </reservedFamily>
  3258.         <titleWidth>0</titleWidth>
  3259.         <icon>0</icon>
  3260.         <textAlign>left</textAlign>
  3261.         <font>Geneva</font>
  3262.         <textSize>24</textSize>
  3263.         <textStyle>bold</textStyle>
  3264.         <textHeight>32</textHeight>
  3265.         <name></name>
  3266.         <script></script>
  3267.     </part>
  3268.     <part>
  3269.         <id>9</id>
  3270.         <type>field</type>
  3271.         <visible> <true /> </visible>
  3272.         <dontWrap> <false /> </dontWrap>
  3273.         <dontSearch> <false /> </dontSearch>
  3274.         <sharedText> <false /> </sharedText>
  3275.         <fixedLineHeight> <true /> </fixedLineHeight>
  3276.         <autoTab> <false /> </autoTab>
  3277.         <lockText> <false /> </lockText>
  3278.         <rect>
  3279.             <left>170</left>
  3280.             <top>162</top>
  3281.             <right>200</right>
  3282.             <bottom>190</bottom>
  3283.         </rect>
  3284.         <style>rectangle</style>
  3285.         <autoSelect> <false /> </autoSelect>
  3286.         <showLines> <false /> </showLines>
  3287.         <wideMargins> <false /> </wideMargins>
  3288.         <multipleLines> <false /> </multipleLines>
  3289.         <reservedFamily> 0 </reservedFamily>
  3290.         <titleWidth>0</titleWidth>
  3291.         <icon>0</icon>
  3292.         <textAlign>left</textAlign>
  3293.         <font>Geneva</font>
  3294.         <textSize>24</textSize>
  3295.         <textStyle>bold</textStyle>
  3296.         <textHeight>32</textHeight>
  3297.         <name></name>
  3298.         <script></script>
  3299.     </part>
  3300.     <part>
  3301.         <id>10</id>
  3302.         <type>field</type>
  3303.         <visible> <true /> </visible>
  3304.         <dontWrap> <false /> </dontWrap>
  3305.         <dontSearch> <false /> </dontSearch>
  3306.         <sharedText> <false /> </sharedText>
  3307.         <fixedLineHeight> <true /> </fixedLineHeight>
  3308.         <autoTab> <false /> </autoTab>
  3309.         <lockText> <false /> </lockText>
  3310.         <rect>
  3311.             <left>197</left>
  3312.             <top>162</top>
  3313.             <right>225</right>
  3314.             <bottom>188</bottom>
  3315.         </rect>
  3316.         <style>rectangle</style>
  3317.         <autoSelect> <false /> </autoSelect>
  3318.         <showLines> <false /> </showLines>
  3319.         <wideMargins> <false /> </wideMargins>
  3320.         <multipleLines> <false /> </multipleLines>
  3321.         <reservedFamily> 0 </reservedFamily>
  3322.         <titleWidth>0</titleWidth>
  3323.         <icon>0</icon>
  3324.         <textAlign>left</textAlign>
  3325.         <font>Geneva</font>
  3326.         <textSize>24</textSize>
  3327.         <textStyle>bold</textStyle>
  3328.         <textHeight>32</textHeight>
  3329.         <name></name>
  3330.         <script></script>
  3331.     </part>
  3332.     <part>
  3333.         <id>11</id>
  3334.         <type>field</type>
  3335.         <visible> <true /> </visible>
  3336.         <dontWrap> <false /> </dontWrap>
  3337.         <dontSearch> <false /> </dontSearch>
  3338.         <sharedText> <false /> </sharedText>
  3339.         <fixedLineHeight> <true /> </fixedLineHeight>
  3340.         <autoTab> <false /> </autoTab>
  3341.         <lockText> <false /> </lockText>
  3342.         <rect>
  3343.             <left>143</left>
  3344.             <top>187</top>
  3345.             <right>171</right>
  3346.             <bottom>212</bottom>
  3347.         </rect>
  3348.         <style>rectangle</style>
  3349.         <autoSelect> <false /> </autoSelect>
  3350.         <showLines> <false /> </showLines>
  3351.         <wideMargins> <false /> </wideMargins>
  3352.         <multipleLines> <false /> </multipleLines>
  3353.         <reservedFamily> 0 </reservedFamily>
  3354.         <titleWidth>0</titleWidth>
  3355.         <icon>0</icon>
  3356.         <textAlign>left</textAlign>
  3357.         <font>Geneva</font>
  3358.         <textSize>24</textSize>
  3359.         <textStyle>bold</textStyle>
  3360.         <textHeight>32</textHeight>
  3361.         <name></name>
  3362.         <script></script>
  3363.     </part>
  3364.     <part>
  3365.         <id>12</id>
  3366.         <type>field</type>
  3367.         <visible> <true /> </visible>
  3368.         <dontWrap> <false /> </dontWrap>
  3369.         <dontSearch> <false /> </dontSearch>
  3370.         <sharedText> <false /> </sharedText>
  3371.         <fixedLineHeight> <true /> </fixedLineHeight>
  3372.         <autoTab> <false /> </autoTab>
  3373.         <lockText> <false /> </lockText>
  3374.         <rect>
  3375.             <left>170</left>
  3376.             <top>187</top>
  3377.             <right>198</right>
  3378.             <bottom>212</bottom>
  3379.         </rect>
  3380.         <style>rectangle</style>
  3381.         <autoSelect> <false /> </autoSelect>
  3382.         <showLines> <false /> </showLines>
  3383.         <wideMargins> <false /> </wideMargins>
  3384.         <multipleLines> <false /> </multipleLines>
  3385.         <reservedFamily> 0 </reservedFamily>
  3386.         <titleWidth>0</titleWidth>
  3387.         <icon>0</icon>
  3388.         <textAlign>left</textAlign>
  3389.         <font>Geneva</font>
  3390.         <textSize>24</textSize>
  3391.         <textStyle>bold</textStyle>
  3392.         <textHeight>32</textHeight>
  3393.         <name></name>
  3394.         <script></script>
  3395.     </part>
  3396.     <part>
  3397.         <id>13</id>
  3398.         <type>field</type>
  3399.         <visible> <true /> </visible>
  3400.         <dontWrap> <false /> </dontWrap>
  3401.         <dontSearch> <false /> </dontSearch>
  3402.         <sharedText> <false /> </sharedText>
  3403.         <fixedLineHeight> <true /> </fixedLineHeight>
  3404.         <autoTab> <false /> </autoTab>
  3405.         <lockText> <false /> </lockText>
  3406.         <rect>
  3407.             <left>197</left>
  3408.             <top>187</top>
  3409.             <right>225</right>
  3410.             <bottom>213</bottom>
  3411.         </rect>
  3412.         <style>rectangle</style>
  3413.         <autoSelect> <false /> </autoSelect>
  3414.         <showLines> <false /> </showLines>
  3415.         <wideMargins> <false /> </wideMargins>
  3416.         <multipleLines> <false /> </multipleLines>
  3417.         <reservedFamily> 0 </reservedFamily>
  3418.         <titleWidth>0</titleWidth>
  3419.         <icon>0</icon>
  3420.         <textAlign>left</textAlign>
  3421.         <font>Geneva</font>
  3422.         <textSize>24</textSize>
  3423.         <textStyle>bold</textStyle>
  3424.         <textHeight>32</textHeight>
  3425.         <name></name>
  3426.         <script></script>
  3427.     </part>
  3428.     <part>
  3429.         <id>14</id>
  3430.         <type>field</type>
  3431.         <visible> <true /> </visible>
  3432.         <dontWrap> <false /> </dontWrap>
  3433.         <dontSearch> <false /> </dontSearch>
  3434.         <sharedText> <false /> </sharedText>
  3435.         <fixedLineHeight> <true /> </fixedLineHeight>
  3436.         <autoTab> <false /> </autoTab>
  3437.         <lockText> <false /> </lockText>
  3438.         <rect>
  3439.             <left>143</left>
  3440.             <top>211</top>
  3441.             <right>171</right>
  3442.             <bottom>239</bottom>
  3443.         </rect>
  3444.         <style>rectangle</style>
  3445.         <autoSelect> <false /> </autoSelect>
  3446.         <showLines> <false /> </showLines>
  3447.         <wideMargins> <false /> </wideMargins>
  3448.         <multipleLines> <false /> </multipleLines>
  3449.         <reservedFamily> 0 </reservedFamily>
  3450.         <titleWidth>0</titleWidth>
  3451.         <icon>0</icon>
  3452.         <textAlign>left</textAlign>
  3453.         <font>Geneva</font>
  3454.         <textSize>24</textSize>
  3455.         <textStyle>bold</textStyle>
  3456.         <textHeight>32</textHeight>
  3457.         <name></name>
  3458.         <script></script>
  3459.     </part>
  3460.     <part>
  3461.         <id>15</id>
  3462.         <type>field</type>
  3463.         <visible> <true /> </visible>
  3464.         <dontWrap> <false /> </dontWrap>
  3465.         <dontSearch> <false /> </dontSearch>
  3466.         <sharedText> <false /> </sharedText>
  3467.         <fixedLineHeight> <true /> </fixedLineHeight>
  3468.         <autoTab> <false /> </autoTab>
  3469.         <lockText> <false /> </lockText>
  3470.         <rect>
  3471.             <left>170</left>
  3472.             <top>211</top>
  3473.             <right>201</right>
  3474.             <bottom>239</bottom>
  3475.         </rect>
  3476.         <style>rectangle</style>
  3477.         <autoSelect> <false /> </autoSelect>
  3478.         <showLines> <false /> </showLines>
  3479.         <wideMargins> <false /> </wideMargins>
  3480.         <multipleLines> <false /> </multipleLines>
  3481.         <reservedFamily> 0 </reservedFamily>
  3482.         <titleWidth>0</titleWidth>
  3483.         <icon>0</icon>
  3484.         <textAlign>left</textAlign>
  3485.         <font>Geneva</font>
  3486.         <textSize>24</textSize>
  3487.         <textStyle>bold</textStyle>
  3488.         <textHeight>32</textHeight>
  3489.         <name></name>
  3490.         <script></script>
  3491.     </part>
  3492.     <part>
  3493.         <id>16</id>
  3494.         <type>field</type>
  3495.         <visible> <true /> </visible>
  3496.         <dontWrap> <false /> </dontWrap>
  3497.         <dontSearch> <false /> </dontSearch>
  3498.         <sharedText> <false /> </sharedText>
  3499.         <fixedLineHeight> <true /> </fixedLineHeight>
  3500.         <autoTab> <false /> </autoTab>
  3501.         <lockText> <false /> </lockText>
  3502.         <rect>
  3503.             <left>197</left>
  3504.             <top>211</top>
  3505.             <right>225</right>
  3506.             <bottom>239</bottom>
  3507.         </rect>
  3508.         <style>rectangle</style>
  3509.         <autoSelect> <false /> </autoSelect>
  3510.         <showLines> <false /> </showLines>
  3511.         <wideMargins> <false /> </wideMargins>
  3512.         <multipleLines> <false /> </multipleLines>
  3513.         <reservedFamily> 0 </reservedFamily>
  3514.         <titleWidth>0</titleWidth>
  3515.         <icon>0</icon>
  3516.         <textAlign>left</textAlign>
  3517.         <font>Geneva</font>
  3518.         <textSize>24</textSize>
  3519.         <textStyle>bold</textStyle>
  3520.         <textHeight>32</textHeight>
  3521.         <name></name>
  3522.         <script></script>
  3523.     </part>
  3524.     <part>
  3525.         <id>17</id>
  3526.         <type>button</type>
  3527.         <visible> <false /> </visible>
  3528.         <reserved5> 0 </reserved5>
  3529.         <reserved4> 0 </reserved4>
  3530.         <reserved3> 0 </reserved3>
  3531.         <reserved2> 0 </reserved2>
  3532.         <reserved1> 0 </reserved1>
  3533.         <enabled> <true /> </enabled>
  3534.         <rect>
  3535.             <left>29</left>
  3536.             <top>174</top>
  3537.             <right>118</right>
  3538.             <bottom>218</bottom>
  3539.         </rect>
  3540.         <style>roundrect</style>
  3541.         <showName> <true /> </showName>
  3542.         <highlight> <false /> </highlight>
  3543.         <autoHighlight> <true /> </autoHighlight>
  3544.         <sharedHighlight> <true /> </sharedHighlight>
  3545.         <family>0</family>
  3546.         <titleWidth>0</titleWidth>
  3547.         <icon>0</icon>
  3548.         <textAlign>center</textAlign>
  3549.         <font>Chicago</font>
  3550.         <textSize>12</textSize>
  3551.         <textStyle>plain</textStyle>
  3552.         <name>PUT PATTERN</name>
  3553.         <script>on mouseUp
  3554.  
  3555. --ask "enter total number of patterns"
  3556. --put it into card field tot
  3557.  
  3558.  
  3559.  
  3560. put line 1 of card field tot into t
  3561.  
  3562.  
  3563.  
  3564. repeat with f = 1 to 15
  3565. put item 1 of line 1 of card field f into temp
  3566. if temp = empty then
  3567. put -1 into temp
  3568. end if
  3569. put temp into item f of line t of card field id 3 of card testcard
  3570. put temp into item f of line t of card field id 6 of card testcard
  3571. end repeat
  3572.  
  3573. put t+1 into line 1 of card field tot
  3574.  
  3575. repeat with f = 1 to 15
  3576.  
  3577.  
  3578. put empty into  card field f
  3579.  
  3580. end repeat
  3581.  
  3582. put line 1 of card field tot into temp
  3583. put temp - 1 into card field maxins_f of card testcard
  3584.  
  3585.  
  3586.  
  3587. end mouseUp
  3588. </script>
  3589.     </part>
  3590.     <part>
  3591.         <id>20</id>
  3592.         <type>field</type>
  3593.         <visible> <true /> </visible>
  3594.         <dontWrap> <false /> </dontWrap>
  3595.         <dontSearch> <false /> </dontSearch>
  3596.         <sharedText> <false /> </sharedText>
  3597.         <fixedLineHeight> <true /> </fixedLineHeight>
  3598.         <autoTab> <false /> </autoTab>
  3599.         <lockText> <false /> </lockText>
  3600.         <rect>
  3601.             <left>169</left>
  3602.             <top>77</top>
  3603.             <right>221</right>
  3604.             <bottom>107</bottom>
  3605.         </rect>
  3606.         <style>transparent</style>
  3607.         <autoSelect> <false /> </autoSelect>
  3608.         <showLines> <false /> </showLines>
  3609.         <wideMargins> <false /> </wideMargins>
  3610.         <multipleLines> <false /> </multipleLines>
  3611.         <reservedFamily> 0 </reservedFamily>
  3612.         <titleWidth>0</titleWidth>
  3613.         <icon>0</icon>
  3614.         <textAlign>left</textAlign>
  3615.         <font>Geneva</font>
  3616.         <textSize>24</textSize>
  3617.         <textStyle>bold</textStyle>
  3618.         <textHeight>32</textHeight>
  3619.         <name>tot</name>
  3620.         <script></script>
  3621.     </part>
  3622.     <part>
  3623.         <id>21</id>
  3624.         <type>button</type>
  3625.         <visible> <true /> </visible>
  3626.         <reserved5> 0 </reserved5>
  3627.         <reserved4> 0 </reserved4>
  3628.         <reserved3> 0 </reserved3>
  3629.         <reserved2> 0 </reserved2>
  3630.         <reserved1> 0 </reserved1>
  3631.         <enabled> <true /> </enabled>
  3632.         <rect>
  3633.             <left>327</left>
  3634.             <top>155</top>
  3635.             <right>385</right>
  3636.             <bottom>201</bottom>
  3637.         </rect>
  3638.         <style>roundrect</style>
  3639.         <showName> <true /> </showName>
  3640.         <highlight> <false /> </highlight>
  3641.         <autoHighlight> <true /> </autoHighlight>
  3642.         <sharedHighlight> <true /> </sharedHighlight>
  3643.         <family>0</family>
  3644.         <titleWidth>0</titleWidth>
  3645.         <icon>0</icon>
  3646.         <textAlign>center</textAlign>
  3647.         <font>Chicago</font>
  3648.         <textSize>12</textSize>
  3649.         <textStyle>plain</textStyle>
  3650.         <name>test </name>
  3651.         <script>on mouseUp
  3652.  
  3653.  
  3654. put empty into  card field id 14 of card testcard
  3655.  
  3656.  
  3657.  
  3658. repeat with f = 1 to 15
  3659. put item 1 of line 1 of card field f into temp
  3660. if temp = empty then
  3661. put -1 into temp
  3662. end if
  3663. put temp into item f of line 1 of card field id 14 of card testcard
  3664.  
  3665. end repeat
  3666.  
  3667. go to card testcard
  3668.  
  3669.  
  3670.  
  3671. repeat with n = 1 to 5
  3672. hide card button id 12
  3673. wait 20 ticks
  3674. show card button id 12
  3675. wait 20 ticks
  3676. end repeat
  3677.  
  3678. end mouseUp
  3679. </script>
  3680.     </part>
  3681.     <part>
  3682.         <id>22</id>
  3683.         <type>field</type>
  3684.         <visible> <true /> </visible>
  3685.         <dontWrap> <false /> </dontWrap>
  3686.         <dontSearch> <false /> </dontSearch>
  3687.         <sharedText> <false /> </sharedText>
  3688.         <fixedLineHeight> <true /> </fixedLineHeight>
  3689.         <autoTab> <false /> </autoTab>
  3690.         <lockText> <false /> </lockText>
  3691.         <rect>
  3692.             <left>63</left>
  3693.             <top>83</top>
  3694.             <right>165</right>
  3695.             <bottom>106</bottom>
  3696.         </rect>
  3697.         <style>transparent</style>
  3698.         <autoSelect> <false /> </autoSelect>
  3699.         <showLines> <false /> </showLines>
  3700.         <wideMargins> <false /> </wideMargins>
  3701.         <multipleLines> <false /> </multipleLines>
  3702.         <reservedFamily> 0 </reservedFamily>
  3703.         <titleWidth>0</titleWidth>
  3704.         <icon>0</icon>
  3705.         <textAlign>left</textAlign>
  3706.         <font>Geneva</font>
  3707.         <textSize>18</textSize>
  3708.         <textStyle>bold</textStyle>
  3709.         <textHeight>24</textHeight>
  3710.         <name>tot</name>
  3711.         <script></script>
  3712.     </part>
  3713.     <part>
  3714.         <id>24</id>
  3715.         <type>button</type>
  3716.         <visible> <false /> </visible>
  3717.         <reserved5> 0 </reserved5>
  3718.         <reserved4> 0 </reserved4>
  3719.         <reserved3> 0 </reserved3>
  3720.         <reserved2> 0 </reserved2>
  3721.         <reserved1> 0 </reserved1>
  3722.         <enabled> <true /> </enabled>
  3723.         <rect>
  3724.             <left>29</left>
  3725.             <top>238</top>
  3726.             <right>118</right>
  3727.             <bottom>275</bottom>
  3728.         </rect>
  3729.         <style>roundrect</style>
  3730.         <showName> <true /> </showName>
  3731.         <highlight> <false /> </highlight>
  3732.         <autoHighlight> <true /> </autoHighlight>
  3733.         <sharedHighlight> <true /> </sharedHighlight>
  3734.         <family>0</family>
  3735.         <titleWidth>0</titleWidth>
  3736.         <icon>0</icon>
  3737.         <textAlign>center</textAlign>
  3738.         <font>Chicago</font>
  3739.         <textSize>12</textSize>
  3740.         <textStyle>plain</textStyle>
  3741.         <name>LEARN</name>
  3742.         <script>on mouseUp
  3743.  
  3744. go to card testcard
  3745.  
  3746. wait 2 secs
  3747.  
  3748. repeat with n = 1 to 5
  3749. hide card button id 11
  3750. wait 20 ticks
  3751. show card button id 11
  3752. wait 20 ticks
  3753. end repeat
  3754.  
  3755.  
  3756.  
  3757. end mouseUp
  3758. </script>
  3759.     </part>
  3760.     <part>
  3761.         <id>27</id>
  3762.         <type>field</type>
  3763.         <visible> <true /> </visible>
  3764.         <dontWrap> <false /> </dontWrap>
  3765.         <dontSearch> <false /> </dontSearch>
  3766.         <sharedText> <false /> </sharedText>
  3767.         <fixedLineHeight> <true /> </fixedLineHeight>
  3768.         <autoTab> <false /> </autoTab>
  3769.         <lockText> <false /> </lockText>
  3770.         <rect>
  3771.             <left>61</left>
  3772.             <top>60</top>
  3773.             <right>251</right>
  3774.             <bottom>110</bottom>
  3775.         </rect>
  3776.         <style>opaque</style>
  3777.         <autoSelect> <false /> </autoSelect>
  3778.         <showLines> <false /> </showLines>
  3779.         <wideMargins> <false /> </wideMargins>
  3780.         <multipleLines> <false /> </multipleLines>
  3781.         <reservedFamily> 0 </reservedFamily>
  3782.         <titleWidth>0</titleWidth>
  3783.         <icon>0</icon>
  3784.         <textAlign>left</textAlign>
  3785.         <font>Geneva</font>
  3786.         <textSize>12</textSize>
  3787.         <textStyle>plain</textStyle>
  3788.         <textHeight>16</textHeight>
  3789.         <name></name>
  3790.         <script></script>
  3791.     </part>
  3792.     <part>
  3793.         <id>43</id>
  3794.         <type>button</type>
  3795.         <visible> <true /> </visible>
  3796.         <reserved5> 0 </reserved5>
  3797.         <reserved4> 0 </reserved4>
  3798.         <reserved3> 0 </reserved3>
  3799.         <reserved2> 0 </reserved2>
  3800.         <reserved1> 0 </reserved1>
  3801.         <enabled> <true /> </enabled>
  3802.         <rect>
  3803.             <left>421</left>
  3804.             <top>269</top>
  3805.             <right>485</right>
  3806.             <bottom>292</bottom>
  3807.         </rect>
  3808.         <style>rectangle</style>
  3809.         <showName> <true /> </showName>
  3810.         <highlight> <false /> </highlight>
  3811.         <autoHighlight> <true /> </autoHighlight>
  3812.         <sharedHighlight> <true /> </sharedHighlight>
  3813.         <family>0</family>
  3814.         <titleWidth>0</titleWidth>
  3815.         <icon>0</icon>
  3816.         <textAlign>center</textAlign>
  3817.         <font>Chicago</font>
  3818.         <textSize>12</textSize>
  3819.         <textStyle>plain</textStyle>
  3820.         <name>setup</name>
  3821.         <script>on mouseUp
  3822. go to card testcard
  3823. end mouseUp
  3824. </script>
  3825.     </part>
  3826.     <part>
  3827.         <id>44</id>
  3828.         <type>button</type>
  3829.         <visible> <true /> </visible>
  3830.         <reserved5> 0 </reserved5>
  3831.         <reserved4> 0 </reserved4>
  3832.         <reserved3> 0 </reserved3>
  3833.         <reserved2> 0 </reserved2>
  3834.         <reserved1> 0 </reserved1>
  3835.         <enabled> <true /> </enabled>
  3836.         <rect>
  3837.             <left>421</left>
  3838.             <top>298</top>
  3839.             <right>485</right>
  3840.             <bottom>320</bottom>
  3841.         </rect>
  3842.         <style>rectangle</style>
  3843.         <showName> <true /> </showName>
  3844.         <highlight> <false /> </highlight>
  3845.         <autoHighlight> <true /> </autoHighlight>
  3846.         <sharedHighlight> <true /> </sharedHighlight>
  3847.         <family>0</family>
  3848.         <titleWidth>0</titleWidth>
  3849.         <icon>0</icon>
  3850.         <textAlign>center</textAlign>
  3851.         <font>Chicago</font>
  3852.         <textSize>12</textSize>
  3853.         <textStyle>plain</textStyle>
  3854.         <name>matrix</name>
  3855.         <script>on mouseUp
  3856. go to card main
  3857. end mouseUp
  3858. </script>
  3859.     </part>
  3860.     <part>
  3861.         <id>45</id>
  3862.         <type>field</type>
  3863.         <visible> <false /> </visible>
  3864.         <dontWrap> <false /> </dontWrap>
  3865.         <dontSearch> <false /> </dontSearch>
  3866.         <sharedText> <false /> </sharedText>
  3867.         <fixedLineHeight> <true /> </fixedLineHeight>
  3868.         <autoTab> <false /> </autoTab>
  3869.         <lockText> <false /> </lockText>
  3870.         <rect>
  3871.             <left>277</left>
  3872.             <top>68</top>
  3873.             <right>462</right>
  3874.             <bottom>137</bottom>
  3875.         </rect>
  3876.         <style>transparent</style>
  3877.         <autoSelect> <false /> </autoSelect>
  3878.         <showLines> <false /> </showLines>
  3879.         <wideMargins> <false /> </wideMargins>
  3880.         <multipleLines> <false /> </multipleLines>
  3881.         <reservedFamily> 0 </reservedFamily>
  3882.         <titleWidth>0</titleWidth>
  3883.         <icon>0</icon>
  3884.         <textAlign>left</textAlign>
  3885.         <font>Geneva</font>
  3886.         <textSize>18</textSize>
  3887.         <textStyle>bold</textStyle>
  3888.         <textHeight>24</textHeight>
  3889.         <name>infor</name>
  3890.         <script></script>
  3891.     </part>
  3892.     <part>
  3893.         <id>47</id>
  3894.         <type>field</type>
  3895.         <visible> <true /> </visible>
  3896.         <dontWrap> <false /> </dontWrap>
  3897.         <dontSearch> <false /> </dontSearch>
  3898.         <sharedText> <false /> </sharedText>
  3899.         <fixedLineHeight> <true /> </fixedLineHeight>
  3900.         <autoTab> <false /> </autoTab>
  3901.         <lockText> <false /> </lockText>
  3902.         <rect>
  3903.             <left>415</left>
  3904.             <top>16</top>
  3905.             <right>496</right>
  3906.             <bottom>49</bottom>
  3907.         </rect>
  3908.         <style>transparent</style>
  3909.         <autoSelect> <false /> </autoSelect>
  3910.         <showLines> <false /> </showLines>
  3911.         <wideMargins> <false /> </wideMargins>
  3912.         <multipleLines> <false /> </multipleLines>
  3913.         <reservedFamily> 0 </reservedFamily>
  3914.         <titleWidth>0</titleWidth>
  3915.         <icon>0</icon>
  3916.         <textAlign>left</textAlign>
  3917.         <font>Times</font>
  3918.         <textSize>12</textSize>
  3919.         <textStyle>bold</textStyle>
  3920.         <textHeight>16</textHeight>
  3921.         <name></name>
  3922.         <script></script>
  3923.     </part>
  3924.     <content>
  3925.         <layer>card</layer>
  3926.         <id>22</id>
  3927.         <text>Pattern #</text>
  3928.     </content>
  3929.     <content>
  3930.         <layer>card</layer>
  3931.         <id>20</id>
  3932.         <text>3</text>
  3933.     </content>
  3934.     <content>
  3935.         <layer>card</layer>
  3936.         <id>45</id>
  3937.         <text>Enter number patterns</text>
  3938.     </content>
  3939.     <content>
  3940.         <layer>card</layer>
  3941.         <id>47</id>
  3942.         <text>
  3943. NUMBERS</text>
  3944.     </content>
  3945.     <content>
  3946.         <layer>card</layer>
  3947.         <id>2</id>
  3948.         <text>1</text>
  3949.     </content>
  3950.     <content>
  3951.         <layer>card</layer>
  3952.         <id>3</id>
  3953.         <text>1</text>
  3954.     </content>
  3955.     <content>
  3956.         <layer>card</layer>
  3957.         <id>4</id>
  3958.         <text>1</text>
  3959.     </content>
  3960.     <content>
  3961.         <layer>card</layer>
  3962.         <id>7</id>
  3963.         <text>1</text>
  3964.     </content>
  3965.     <content>
  3966.         <layer>card</layer>
  3967.         <id>9</id>
  3968.         <text>1</text>
  3969.     </content>
  3970.     <content>
  3971.         <layer>card</layer>
  3972.         <id>14</id>
  3973.         <text>1</text>
  3974.     </content>
  3975.     <content>
  3976.         <layer>card</layer>
  3977.         <id>15</id>
  3978.         <text>1</text>
  3979.     </content>
  3980.     <content>
  3981.         <layer>card</layer>
  3982.         <id>16</id>
  3983.         <text>1</text>
  3984.     </content>
  3985.     <name>numbers</name>
  3986.     <script></script>
  3987. </card>
  3988.  
  3989.  
  3990.